Home

Sign a transaction with a node-managed account

POST
https://lukso-testnet.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Invokes eth_signTransaction on LUKSO Testnet and returns its result.

Body

application/json
jsonrpcstringrequired

JSON-RPC protocol version. Use 2.0.

methodstringeth_signTransactionrequired

JSON-RPC method to invoke.

paramsArray<object>required

Array with a single object representing the transaction to sign.

Show child attributes
fromstringrequired

The address of the account that will sign the transaction.

tostring

The destination address of the transaction.

gasstring

Gas limit for the transaction, as a hex string.

gasPricestring

Gas price in wei, as a hex string.

valuestring

Amount of wei to send, as a hex string.

datastring

Data payload of the transaction, hex encoded.

noncestring

Nonce of the transaction, as a hex string.

chainIdinteger

The chain ID to protect against replay attacks.

idintegerrequired

Identifier used to correlate the request with its response.

Response

200OK

JSON-RPC response with the signed transaction data