BlockPI Network
Search
⌃K

klay_accounts

Returns a list of addresses owned by client.

Parameters

None

Return Value

Type
Description
Array of 20-byte DATA
Addresses owned by the client.

Example

// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_accounts","params":[],"id":1}' http://klaytn.blockpi.network/v1/rpc/your-api-key
​
// Result
{
"jsonrpc":"2.0",
"id":1,
"result": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f"]
}