-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.evm.EvmNftProvider
@liquality/evm.EvmNftProvider
-
Nft
<BaseProvider
,Signer
>↳
EvmNftProvider
• new EvmNftProvider(walletProvider
, httpConfig
)
Name | Type |
---|---|
walletProvider |
EvmBaseWalletProvider <BaseProvider , Signer > |
httpConfig |
AxiosRequestConfig <any > |
evm/lib/nft/EvmNftProvider.ts:22
• Protected
walletProvider: Wallet
<BaseProvider
, Signer
>
client/dist/lib/Nft.d.ts:4
▸ approve(contractAddress
, operator
, tokenID
, fee?
): Promise
<Transaction
<TransactionResponse
>>
Name | Type |
---|---|
contractAddress |
AddressType |
operator |
AddressType |
tokenID |
number |
fee? |
FeeType |
Promise
<Transaction
<TransactionResponse
>>
evm/lib/nft/EvmNftProvider.ts:102
▸ approveAll(contractAddress
, operator
, state
, fee?
): Promise
<Transaction
<TransactionResponse
>>
Name | Type |
---|---|
contractAddress |
AddressType |
operator |
AddressType |
state |
boolean |
fee? |
FeeType |
Promise
<Transaction
<TransactionResponse
>>
evm/lib/nft/EvmNftProvider.ts:138
▸ balanceOf(contractAddress
, owners
, tokenIDs
): Promise
<BigNumber
| BigNumber
[]>
Name | Type |
---|---|
contractAddress |
AddressType |
owners |
AddressType [] |
tokenIDs |
number [] |
Promise
<BigNumber
| BigNumber
[]>
evm/lib/nft/EvmNftProvider.ts:78
▸ fetch(): Promise
<any
>
Promise
<any
>
evm/lib/nft/EvmNftProvider.ts:149
▸ getWallet(): Wallet
<BaseProvider
, Signer
>
Wallet
<BaseProvider
, Signer
>
client/dist/lib/Nft.d.ts:7
▸ isApprovedForAll(contractAddress
, operator
): Promise
<boolean
>
Name | Type |
---|---|
contractAddress |
AddressType |
operator |
AddressType |
Promise
<boolean
>
evm/lib/nft/EvmNftProvider.ts:132
▸ setWallet(wallet
): void
Name | Type |
---|---|
wallet |
Wallet <BaseProvider , Signer > |
void
client/dist/lib/Nft.d.ts:6
▸ transfer(contractAddress
, receiver
, tokenIDs
, amounts?
, data?
, fee?
): Promise
<Transaction
<TransactionResponse
>>
Name | Type |
---|---|
contractAddress |
AddressType |
receiver |
AddressType |
tokenIDs |
number [] |
amounts? |
number [] |
data? |
string |
fee? |
FeeType |
Promise
<Transaction
<TransactionResponse
>>