MasaASBTWrapper
[# Masa SDK
- v3.34.1](/docs/developers/sdk/) / Exports / MasaASBTWrapper
Class: MasaASBTWrapper\<Contract>
Type parameters
Name | Type |
---|---|
Contract | extends ReferenceSBTAuthority |
Hierarchy
MasaSBTWrapper
\<Contract
>↳
MasaASBTWrapper
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new MasaASBTWrapper\<Contract
>(masa
, contract
): MasaASBTWrapper
\<Contract
>
Type parameters
Name | Type |
---|---|
Contract | extends ReferenceSBTAuthority |
Parameters
Name | Type |
---|---|
masa | MasaInterface |
contract | Contract |
Returns
MasaASBTWrapper
\<Contract
>
Inherited from
Properties
contract
• Readonly
contract: Contract
Inherited from
links
• Readonly
links: MasaSoulLinker
Inherited from
masa
• Protected
Readonly
masa: MasaInterface
Inherited from
Accessors
isContractAvailable
• get
isContractAvailable(): boolean
Returns
boolean
Inherited from
MasaSBTWrapper.isContractAvailable
Methods
bulkMint
▸ bulkMint(receivers
, paymentMethod?
): Promise
\<BaseResult
[]>
Parameters
Name | Type | Default value |
---|---|---|
receivers | string [] | undefined |
paymentMethod | PaymentMethod | "ETH" |
Returns
Promise
\<BaseResult
[]>
burn
▸ burn(SBTId
): Promise
\<BaseResult
>
Parameters
Name | Type |
---|---|
SBTId | BigNumber |
Returns
Promise
\<BaseResult
>
Inherited from
list
▸ list(address?
): Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Parameters
Name | Type |
---|---|
address? | string |
Returns
Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Inherited from
loadSBTIDs
▸ loadSBTIDs(sbtIDs
): Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Parameters
Name | Type |
---|---|
sbtIDs | BigNumber [] |
Returns
Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Inherited from
loadSBTs
▸ loadSBTs(identityIdOrAddress
): Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Parameters
Name | Type |
---|---|
identityIdOrAddress | string | BigNumber |
Returns
Promise
\<{ tokenId
: BigNumber
; tokenUri
: string
}[]>
Inherited from
mint
▸ mint(receiver
, paymentMethod?
): Promise
\<BaseResultWithTokenId
>
Parameters
Name | Type | Default value |
---|---|---|
receiver | string | undefined |
paymentMethod | PaymentMethod | "ETH" |
Returns
Promise
\<BaseResultWithTokenId
>