Constructors
Properties
address
address: string
Optional
assets
assets?: LinkAssets
Optional
bagObject
Optional
claimed
claimed?: boolean
Optional
claimedBy
claimedBy?: string
Optional
creatorAddress
creatorAddress?: string
Optional
keypair
Methods
claimAssets
- claimAssets(
address: string,
__namedParameters?:
| { reclaim?: false; sign?: undefined }
| { reclaim: true; sign: (transaction: Uint8Array) => Promise<string> },
): Promise<SuiTransactionBlockResponse> Parameters
- address: string
- __namedParameters:
| { reclaim?: false; sign?: undefined }
| { reclaim: true; sign: (transaction: Uint8Array) => Promise<string> } = {}
createClaimTransaction
- createClaimTransaction(
address: string,
__namedParameters?: { reclaim?: boolean },
): Transaction Parameters
- address: string
- __namedParameters: { reclaim?: boolean } = {}
createRegenerateTransaction
- createRegenerateTransaction(
sender: string,
options?: Omit<ZkSendLinkBuilderOptions, "sender">,
): Promise<{ transaction: Transaction; url: string }> Returns Promise<{ transaction: Transaction; url: string }>
loadAssets
- loadAssets(
options?: {
loadClaimedAssets?: boolean;
transaction?: SuiTransactionBlockResponse;
},
): Promise<void> Returns Promise<void>
loadClaimedStatus
- loadClaimedStatus(): Promise<void>
Returns Promise<void>
Static
fromAddress
- fromAddress(
address: string,
options: Omit<ZkSendLinkOptions, "address" | "keypair" | "isContractLink">,
): Promise<ZkSendLink> Parameters
- address: string
- options: Omit<ZkSendLinkOptions, "address" | "keypair" | "isContractLink">
Static
fromUrl
- fromUrl(
url: string,
options?: Omit<ZkSendLinkOptions, "address" | "keypair" | "isContractLink">,
): Promise<ZkSendLink> Parameters
- url: string
- options: Omit<ZkSendLinkOptions, "address" | "keypair" | "isContractLink"> = {}