Skip to main content

AvN Gateway Changelog


v1.0

💥 Breaking Change

  • User nonce now required when submitting transactions via JSON-RPC.
  • For non-JSON-RPC implementations, the relayer address can now be declared during initialisation and does not need to be repeated later in the code.

v0.8

✂️ Split Fees

🚀 v8 New Feature

🖼️ Batch NFTs

  • mintBatchNft
  • createNftBatch
  • listFiatNftBatchForSale
  • endNftBatchSale

v0.7


🚀 v7 New Feature

⛓️ Chain

  • getChainInfo
  • getCurrentBlock
  • getSummaryData

💵 Staking

  • getEraElectionStatus

🔍 Query

  • getTotalToken

v0.6


🚀 v6 New Features

💵 Staking

  • getActiveEra
  • stake
  • getStakingStatus
  • payoutStakers
  • unstake
  • withdrawUnlocked
  • getStakingStats

🔍 Query

  • getValidatorsToNominate
  • getAvnContractAddress
  • getNftContractAddress

🚅 Send

  • confirmLift
  • lowerToken

🧰 Utils

  • myAddress
  • myPublicKey
  • addressToPublicKey
  • setSURI

💥 Breaking Change

  • query.getNonce
    • getAccountNonce and getAccountPaymentNonce have now been merged into getNonce. Pass an additional nonceType argument, 'token' and 'payment' respectively. It also returns the nonce for staking and confirmation.
  • poll.requestState
    • Previously returned only the status of the transaction. Now returns a JSON that includes the transaction hash, transaction status, block number, and transaction index.

v0.5


🚀 v5 New Features

💰 AVT

  • getAvtContractAddress

💼 Account

  • getAccountPaymentNonce

:framed_picture: NFT

  • getNftId
  • getNftNonce
  • getNftOwner

v0.4


🚀 v4 New Features

🖼️ NFT

  • mintSingleNft
  • transferFiatNft
  • ListNftOpenForSale
  • cancelListFiatNft
  • Royalties

v0.3


🚀 v3 New Features

🔍 Queries

  • getRelayerFees