Home

Estimate transaction gas

POST
https://lukso.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. A call that sets blobVersionedHashes or authorizationList must include to. Without it the node rejects the request with an error (missing "to" in blob transaction or authorizationList provided for contract creation, but "to" field is missing).

Invokes eth_estimateGas on LUKSO Mainnet and returns its result.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version

methodstringrequired

The method name

paramsArray<object>required

The transaction call object and an optional block tag.

Show child attributes
fromstring

20-byte sender address encoded as a 0x-prefixed hexadecimal string.

tostring

20-byte recipient address, or null for contract creation.

valuestring

Value encoded as a hexadecimal quantity in the network's smallest currency unit.

idintegerrequired

Request identifier

Response

200OK

Estimated gas amount