-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.client.Nft
Krasimir Raykov edited this page Mar 30, 2022
·
3 revisions
Name |
---|
T |
S |
• new Nft<T
, S
>(walletProvider?
)
Name |
---|
T |
S |
Name | Type |
---|---|
walletProvider? |
Wallet <T , S > |
• Protected
walletProvider: Wallet
<T
, S
>
▸ Abstract
approve(contract
, operator
, tokenID
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
contract |
AddressType |
operator |
AddressType |
tokenID |
number |
Promise
<Transaction
<any
>>
▸ Abstract
approveAll(contract
, operator
, state
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
contract |
AddressType |
operator |
AddressType |
state |
boolean |
Promise
<Transaction
<any
>>
▸ Abstract
balanceOf(contractAddress
, owners
, tokenIDs
): Promise
<BigNumber
| BigNumber
[]>
Name | Type |
---|---|
contractAddress |
AddressType |
owners |
AddressType [] |
tokenIDs |
number [] |
Promise
<BigNumber
| BigNumber
[]>
▸ Abstract
fetch(): void
void
▸ getWallet(): Wallet
<T
, S
>
Wallet
<T
, S
>
▸ Abstract
isApprovedForAll(contract
, operator
): Promise
<boolean
>
Name | Type |
---|---|
contract |
AddressType |
operator |
AddressType |
Promise
<boolean
>
▸ setWallet(wallet
): void
Name | Type |
---|---|
wallet |
Wallet <T , S > |
void
▸ Abstract
transfer(contract
, receiver
, tokenIDs
, values?
, data?
, fee?
): Promise
<Transaction
<any
>>
Name | Type |
---|---|
contract |
AddressType |
receiver |
AddressType |
tokenIDs |
number [] |
values? |
number [] |
data? |
string |
fee? |
FeeType |
Promise
<Transaction
<any
>>