NearApi (near_api v0.1.0)

NEAR RPC API

Link to this section Summary

Functions

Returns information about a single access key for given account from NEAR blockchain

Link to this section Functions

Link to this function

view_access_key(account_id)

Returns information about a single access key for given account from NEAR blockchain

Examples

iex> System.put_env("NEAR_PUBLIC_KEY", "ed25519:H9k5eiU4xXS3M4z8HzKJSLaZdqGdGwBG49o7orNC4eZW") iex> System.put_env("NEAR_NODE_URL", "https://rpc.testnet.near.org") iex> NearApi.view_access_key("client.chainlink.testnet")["id"] "dontcare"