mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
feat: NFT support (#1829)
* add NFTokenBurn and NFTokenMint * add NFTokenCreateOffer * add NFTokenCancelOffer * add NFTokenAcceptOffer * add requests and responses * make a beta 2.1.0 * rename TokenIDs to TokenOffers * add validations and fixup docs * add tests * add missing error codes to binary codec * adds history changes
This commit is contained in:
@@ -40,6 +40,10 @@ export enum AccountSetAsfFlags {
|
||||
asfDefaultRipple = 8,
|
||||
/** Enable Deposit Authorization on this account. */
|
||||
asfDepositAuth = 9,
|
||||
/**
|
||||
* Allow another account to mint and burn tokens on behalf of this account.
|
||||
*/
|
||||
asfAuthorizedMinter = 10,
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -135,6 +139,11 @@ export interface AccountSet extends BaseTransaction {
|
||||
* digits. Valid values are 3 to 15 inclusive, or 0 to disable.
|
||||
*/
|
||||
TickSize?: number
|
||||
/**
|
||||
* Sets an alternate account that is allowed to mint NFTokens on this
|
||||
* account's behalf using NFTokenMint's `Issuer` field.
|
||||
*/
|
||||
Minter?: string
|
||||
}
|
||||
|
||||
const MIN_TICK_SIZE = 3
|
||||
|
||||
Reference in New Issue
Block a user