Skip to main content

GetRawInMessageByHash

Messages

Returns the bytecode of the internal message with the given hash.

Params

(2)

1. shardId (required)

integer

The ID of the shard where the message was recorded.

2. hash (required)

string

The hash of the message.

Result

(messageBytecode)
string

The bytecode of the requested message.

API credentials

Username

Token

Params

shardId

hash


Request

curl -X POST https://api.devnet.nil.foundation/api/undefined/undefined \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getRawInMessageByHash",
"params": [
null,
null
],
"id": 1
}'