Skip to main content

engine_exchangeTransitionConfigurationV1

Exchanges transition configuration

Params

(1)

1. Consensus client configuration (required)

terminalTotalDifficulty
string
required
Match pattern:
^0x(0|[1-9a-f][0-9a-f]{0,63})$
terminalBlockHash
string
required
Match pattern:
^0x[0-9a-f]{64}$
terminalBlockNumber
string
required
Match pattern:
^0x(0|[1-9a-f][0-9a-f]{0,15})$

Result

(Execution client configuration)
terminalTotalDifficulty
string
required
Match pattern:
^0x(0|[1-9a-f][0-9a-f]{0,63})$
terminalBlockHash
string
required
Match pattern:
^0x[0-9a-f]{64}$
terminalBlockNumber
string
required
Match pattern:
^0x(0|[1-9a-f][0-9a-f]{0,15})$

Example

Request

await window.ethereum.request({
"method": "engine_exchangeTransitionConfigurationV1",
"params": [
{
"terminalTotalDifficulty": 0,
"terminalBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"terminalBlockNumber": "0x1"
}
]
});

Result

{
"terminalTotalDifficulty": 0,
"terminalBlockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"terminalBlockNumber": "0x1"
}

Params

Consensus client configuration


Request

await window.ethereum.request({
"method": "engine_exchangeTransitionConfigurationV1",
"params": [
null
]
});