Near client. Use this to understand exactly what fields are available when parsing results.
Transaction Result (FinalExecutionOutcome)
Returned by .send() and near.call().
Execution Outcome (ExecutionOutcomeWithId)
Contains gas usage and logs.
Account Details (AccountView)
Returned by near.getAccountDetails(accountId).
Access Key (AccessKeyView)
Returned by near.getAccessKey(accountId, publicKey).
Errors
FunctionCallError
Thrown when a smart contract panics.
InvalidTransactionError
Thrown when the network rejects a transaction.
Utility Functions
Deterministic Account IDs (NEP-616)
deriveAccountId(stateInit)
Computes the deterministic account ID from initialization state.
isDeterministicAccountId(accountId)
Checks if an account ID is deterministic (starts with 0s).