Want to get some basic info of the created Link? Here is how you can.
You can get all information about a Link by calling the
getLinkDetails
function.plain textawait peanut.getLinkDetails({ link: 'https://peanut.to/claim?c=137&v=v4.3&i=2160&t=ui#p=0JObAtHfeDX7HI7K', })
The above function will return the following values:
plain textinterface IGetLinkDetailsResponse { link: string chainId: string depositIndex: number contractVersion: string password: string sendAddress: string tokenType: string tokenAddress: string tokenDecimals: number tokenSymbol: string TokenName: string tokenAmount: number tokenId: number claimed: boolean depositDate: string tokenURI: string }