kaia_encodeAccountKey RPC Method
Parameters
keyType
integer
REQUIRED
An integer value indicating account key type
key
object
REQUIRED
An account key object
Returns
key
string
The RLP encoded account key
Request
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_encodeAccountKey",6"id": 1,7"jsonrpc": "2.0",8"params": [9{10"keyType": 0,11"key": {}12}13]14}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free