Filecoin.StateAccountKey
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. A null element inside the tipset key array is now rejected with an error; before, it was silently dropped. To use the current head, pass an empty array [] or null for the whole key.
Returns the public key address (f1 or f3) associated with an account actor. This method resolves ID addresses (f0) to their corresponding public key addresses. It only works for account actors; calling it on non-account actors (miners, multisigs, etc.) will result in an error.
Body
jsonrpcstringrequiredJSON-RPC protocol version. Must always be "2.0".
methodstringrequiredThe name of the JSON-RPC method to invoke.
paramsArray<string | array>requiredOrdered list of parameters containing the address to lookup and an optional tipset key.
idintegerrequiredAn identifier for this JSON-RPC request.
Response
Successful response containing the public key address.