Home

Estimate transaction gas

POST
https://lukso-testnet.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). After the Amsterdam upgrade on Sepolia (October 6, 2026, 13:53:36 UTC) a plain value transfer is no longer estimated at a fixed 21000 gas: the node returns the gas the transfer actually uses under the new gas rules, so the result can differ from 0x5208.

Invokes eth_estimateGas on LUKSO Testnet 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