diff --git a/classes/_near_js_accounts.account.Account.html b/classes/_near_js_accounts.account.Account.html index ce30f49e25..c7d0ea2b5b 100644 --- a/classes/_near_js_accounts.account.Account.html +++ b/classes/_near_js_accounts.account.Account.html @@ -1,5 +1,5 @@
Readonly
accountReadonly
connectionA public key to be associated with the contract
+Readonly
accountReadonly
connectionA public key to be associated with the contract
Optional
contractId: stringNEAR account where the contract is deployed
Optional
methodNames: string | string[]The method names on the contract that should be allowed to be called. Pass null for no method names and '' or [] for any method names.
Optional
amount: bigintPayment in yoctoⓃ that is sent to the contract during this function call
https://docs.near.org/concepts/basics/accounts/access-keys
expand this API to support more options.
-NEAR account name to be created
+NEAR account name to be created
A public key created from the masterAccount
-Create a new account and deploy a contract to it
+Create a new account and deploy a contract to it
NEAR account where the contract is deployed
The public key to add to the created contract account
The compiled contract code
of NEAR to transfer to the created contract account. Transfer enough to pay for storage https://docs.near.org/docs/concepts/storage-staking
-The NEAR account that will receive the remaining Ⓝ balance from the account being deleted
-The public key to be deleted
-The compiled contract code
-Finds the AccessKeyView associated with the accounts PublicKey stored in the Keystore.
+The NEAR account that will receive the remaining Ⓝ balance from the account being deleted
+The public key to be deleted
+The compiled contract code
+Finds the AccessKeyView associated with the accounts PublicKey stored in the Keystore.
currently unused (see todo)
currently unused (see todo)
{ publicKey PublicKey; accessKey: AccessKeyView }
Find matching access key based on transaction (i.e. receiverId and actions)
-Execute a function call.
+Execute a function call.
The options for the function call.
A promise that resolves to the final execution outcome of the function call.
-Get all access keys for the account
+Get all access keys for the account
Returns calculated account balance
-Returns a list of authorized apps
+Returns calculated account balance
+Returns a list of authorized apps
update the response value to return all the different keys, not just app keys.
-Returns the NEAR tokens balance and validators of a given account that is delegated to the staking pools that are part of the validators set in the current epoch.
NOTE: If the tokens are delegated to a staking pool that is currently on pause or does not have enough tokens to participate in validation, they won't be accounted for.
-NEAR account receiving Ⓝ
+NEAR account receiving Ⓝ
Amount to send in yoctoⓃ
-Sign a transaction to perform a list of actions and broadcast it using the RPC API.
+Sign a transaction to perform a list of actions and broadcast it using the RPC API.
The options for signing and sending the transaction.
A promise that resolves to the final execution outcome of the transaction.
Protected
signCreate a signed transaction which can be broadcast to the network
+Protected
signCreate a signed transaction which can be broadcast to the network
NEAR account receiving the transaction
list of actions to perform as part of the transaction
Compose and sign a SignedDelegate action to be executed in a transaction on behalf of this Account instance
+Compose and sign a SignedDelegate action to be executed in a transaction on behalf of this Account instance
Options for the transaction.
-The public key for the account that's staking
+The public key for the account that's staking
The account to stake in yoctoⓃ
Returns basic NEAR account information via the view_account
RPC query method
Returns basic NEAR account information via the view_account
RPC query method
Invoke a contract view function using the RPC API.
Function call options.
Returns the state (key value pairs) of this account's contract based on the key prefix. Pass an empty string for prefix if you would like to return the entire state.
allows to filter which keys should be returned. Empty prefix means all keys. String prefix is utf-8 encoded.
specifies which block to query state at. By default returns last "optimistic" block (i.e. not necessarily finalized).
Generated using TypeDoc
Generated using TypeDoc
This class provides common account related RPC calls including signing transactions with a KeyPair.
-