Skip to content
by Unity Nodes
near-api-jsStable

near-api-js 7.5.0

near-api-js@7.5.0github.com

#2032 85af012 Thanks @irondevrel! - Add NEP-616 deterministic account support: canonical state-init encoding and account-ID derivation, the DeterministicStateInit transaction action, and…

Minor Changes

  • #2032 85af012 Thanks @irondevrel! - Add NEP-616 deterministic account support: canonical state-init encoding and account-ID derivation, the DeterministicStateInit transaction action, and Account.createDeterministicAccount(). Storage deposits cover storage staking and refund any excess; they do not fund the account's spending balance.

  • #2036 f1f5621 Thanks @irondevrel! - Expose global contract references from Account.getState() and add decodeSignedDelegate() for Borsh-encoded meta transactions.

    Export SignedDelegate with encode() and decode() methods, reject trailing bytes and nested or reserved delegate tags when decoding signed delegates, and restore Signature instances when decoding signed transactions.

  • #2034 227824b Thanks @irondevrel! - Update generated RPC types and exhaustive error handling to the official nearcore 2.14.0 OpenAPI schema. Add access-key pagination parameters and expose the new account-view fields.

  • #2035 0c2dca5 Thanks @irondevrel! - Add protocol-88 universal account support, including canonical state-init construction, raw-byte account ID derivation, the UniversalStateInit action, bootstrap nonces, and nearcore 2.14 RPC types and errors.

Patch Changes

  • #2029 799f5ad Thanks @irondevrel! - Accept RPC base58 code hashes in global-contract use actions while preserving 64-character hexadecimal and raw-byte inputs. Encode raw-byte hashes as base58 when querying global contract code.