Module accounts

Source
Expand description

The accounts module provides functionalities for managing NEAR blockchain accounts, allowing for operations such as account creation, access key management, contract deployment, making change and view function calls, and transaction execution. It abstracts the complexities of transaction construction and signing, making it easier to perform account-related operations.

Structs§

Account
Represents a NEAR account, encapsulating account ID, signer, and provider for blockchain interaction.
AccountBalance
Represents the balance details of a NEAR account.

Functions§

get_access_key
Retrieves the list of access keys for a given account.
get_account_balance
Retrieves the balance details of a specific account on the NEAR blockchain.
state
Retrieves the state of an account on the NEAR blockchain.
view_state
Queries the state of a contract on the NEAR blockchain using a key prefix.