Account
In this section, we provide interfaces related to your account.
getNFTIds
Get token IDs held by the owner
Copy
IGetNFTIdsParams
Name | Type | Required | Description |
---|---|---|---|
collection | string | true | collection address |
owner | string | true | owner address |
limit | number | true | up limit of tokenIds we returned to |
balanceForFundingPool
View balance of tokens and NFTs in Funding Pool
Copy
IBalance
Name | Type | Description | Example |
---|---|---|---|
token | string | The amount of token | 5 |
nft | string[] | The list of NFTs | ["5"] |
depositTokenForFundingPool
Deposit funds into Funding Pool
Copy
IDepositTokenParams
Name | Type | Required | Description |
---|---|---|---|
tokenAmount | string | true | The amount of token, and the unit is wei |
withdrawTokenForFundingPool
Withdraw funds from Funding Pool
Copy
IWithdrawTokenParams
Name | Type | Required | Description |
---|---|---|---|
tokenAmount | string | true | The amount of token, and the unit is wei |
lastFee | string | true | The network fee you need to pay on last transaction, and the unit is wei |
depositNFTForFundingPool
Deposit NFTs into Funding Pool and cross multiple collections supported.
Copy
IDepositNFTParams
Name | Type | Required | Description |
---|---|---|---|
collectionAddressList | string[] | true | The list of Collections |
tokenIdsList | string[] | true | The list of NFTs |
withdrawNFTForFundingPool
Withdraw NFTs from Funding Pool and cross multiple collections supported.
Copy
IWithdrawNFTParams
Name | Type | Required | Description |
---|---|---|---|
collectionAddressList | string[] | true | The list of collections |
tokenIdsList | string[] | true | The list of NFTs |
Last updated