Skip to main content

kaia_recoverFromMessage RPC Method

Recover from message data.

Updated on
Aug 7, 2024

kaia_recoverFromMessage RPC Method

Parameters

address
string
REQUIRED
The address to recover
message
string
REQUIRED
The message that was signed, represented as a hex format
signature
string
REQUIRED
The signature of the message, represented as a hex format
blockNumber/tag
string
REQUIRED
The block number in hexadecimal format or the string latest or earliest

Returns

result
string
The result of recover from message
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "kaia_recoverFromMessage",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": [
9
"0xA2a8854b1802D8Cd5De631E690817c253d6a9153",
10
"0xdeadbeef",
11
"0x1e6338d6e4a8d688a25de78cf2a92efec9a92e52eb8425acaaee8c3957e68cdb3f91bdc483f0ed05a0da26eca3be4c566d087d90dc2ca293be23b2a9de0bcafc1c",
12
"latest"
13
]
14
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free