/stakeETH
1 min
POST
/stakeETH
account_idintegerThe account that holds the address to send from.
validator_public_key_hexstring<p>Validator's public key in hex (96 hex digits), received from your validator.</p>
bls_signature_hexstring<p>ETH2 BLS (Bonneh-Lynn-Shacham) signature in hex, received from your validator.</p>
gas_pricestring<p>The gas price to transfer with, in Wei. In London fork currencies, this is the <em>maximum</em> fee to pay per gas unit.</p>
gas_limitinteger<p>The gas limit to transfer, in gas units (must be at least 21500).</p>
max_priority_feeinteger<p>The max priority fee to tip the miner (optional).</p>
validate_transactionboolean<p>Whether to validate the transaction (default is True).</p>
from_addressstring<p>The address to send the transaction from (optional).</p>
acceptstringGenerated from available response content types
bodyobjectRequest data for a transaction.
200success
curl --request POST \
--url '/stakeETH?account_id=1&validator_public_key_hex=0xa00cc6e72f9b325d6c896a2fa0bc4ca2e8893aedffc5e2a6690ca6626dd97830f7147ab617690d40a0b245b85f21cfe7&bls_signature_hex=0xb3...ca7&gas_price=100000000000&gas_limit=90000&max_priority_fee=100000000&validate_transaction=False&from_address=0xd38fcFD88C41F32E4711f3722375dD611b42A024' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"AccountId": 1,
"BlsSignatureHex": "0xb3411b20b150fbcd40ac01fc037925b95046387be9df15c24ade7a5df15edc5e8c717d4133648edf2bb66b9112829c76029f6410d8b240b7f18a3fe9b075f9f136aded9435aa92028acee19e81b073b4622a0f34da640c87dd6db5454d70cca7",
"Fee": {
"GasLimit": 90000,
"GasPrice": "1000000000",
"MaxPriorityFee": "None"
},
"ValidatorPublicKeysHex": "0xa00cc6e72f9b325d6c896a2fa0bc4ca2e8893aedffc5e2a6690ca6626dd97830f7147ab617690d40a0b245b85f21cfe7",
"validateTransaction": "true",
"Meta": {
"FunctionName": "stakeETH",
"RandomData": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
"Destination": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea",
"Time": "2021-02-07T18:37:46.948Z",
"Source": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99",
"AccessToken": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087"
}
}'