NearApi.AccessKeys (near_api v0.1.2)
NEAR RPC - Access Keys API
Link to this section Summary
Functions
Returns information about a single access key for given account. If permission of the key is FunctionCall, it will return more details such as the allowance, receiver_id, and method_names.
Returns all access keys for a given account
Link to this section Functions
Link to this function
view_access_key(account_id, block_id \\ nil, public_key \\ nil)
Specs
view_access_key( account_id :: String.t(), block_id :: String.t(), public_key :: String.t() ) :: {:ok, body :: map()} | {:error, error_message: error_message :: String.t(), response: response :: map()}
Returns information about a single access key for given account. If permission of the key is FunctionCall, it will return more details such as the allowance, receiver_id, and method_names.
Link to this function
view_access_key_list(account_id, block_id \\ nil, public_key \\ nil)
Specs
view_access_key_list( account_id :: String.t(), block_id :: String.t(), public_key :: String.t() ) :: {:ok, body :: map()} | {:error, error_message: error_message :: String.t(), response: response :: map()}
Returns all access keys for a given account