Skip to main content

GetRawInMessageByBlockHashAndIndex

Messages

Returns the bytecode of the internal message with the given index and contained within the block with the given hash.

Params

(3)

1. shardId (required)

integer

The ID of the shard where the message was recorded.

2. hash (required)

string

The hash of the block whose information is requested.

3. index (required)

integer

The index of the message whose information is requested.

Result

(messageBytecode)
string

The bytecode of the requested message.

API credentials

Username

Token

Params

shardId

hash

index


Request

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