AvN Gateway Changelog
v3.1.0
SetupMode
OfflineMode
- Allows the API be set up in Offline mode, not requiring a SURI.
v3.0
💥 Breaking Change
SetupMode
- Modes in which the API can be set up in. Either Single or Multi user modes.SigningMode
- Defines if the API should expect an external signer for transactions.Nonce caching
- Allows the user to specify a remote cache via an INonceCacheProvider or to specify a local cache.Log Level
- Specifies how detailed the logs from the API should be.
v2.4
Staking
getStakerRewardsEarned
- Get the rewards earned by a staker. This can return either the total rewards earned by a staker or the rewards earned within a specified timeframe.
v2.0
💥 Breaking Change
- Remote Signer: Introduces the possibility to authenticate a user without requesting their SURI but instead trigger their KMS to sign an action via a http call.
Query
Utils
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.
- getAccountNonce and getAccountPaymentNonce have now been merged into
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
🖼 NFT
getNftId
getNftNonce
getNftOwner
v0.4
🚀 v4 New Features
🖼️ NFT
mintSingleNft
transferFiatNft
ListNftOpenForSale
cancelListFiatNft
- Royalties
v0.3
🚀 v3 New Features
🔍 Queries
getRelayerFees