Preparing search index...
The search index is not available Lumos
sudt : { issueToken : ( ( txSkeleton ,
fromInfo ,
amount ,
capacity ? ,
tipHeader ? ,
options ? ) => Promise < TransactionSkeletonType > ) ; ownerForSudt : ( ( fromInfo ,
options ? ) => Token ) ; packAmount : ( ( amount ) => HexString ) ; transfer : ( ( txSkeleton ,
fromInfos ,
sudtToken ,
toAddress ,
amount ,
changeAddress ? ,
capacity ? ,
tipHeader ? ,
options ? ) => Promise < TransactionSkeletonType > ) ; unpackAmount : ( ( data ) => BI ) ; }
Type declaration
issue Token : ( ( txSkeleton , fromInfo , amount , capacity ? , tipHeader ? , options ? ) => Promise < TransactionSkeletonType > )
owner For Sudt : ( ( fromInfo , options ? ) => Token )
( fromInfo , options ? ) : Token
Returns Token
pack Amount : ( ( amount ) => HexString )
transfer : ( ( txSkeleton , fromInfos , sudtToken , toAddress , amount , changeAddress ? , capacity ? , tipHeader ? , options ? ) => Promise < TransactionSkeletonType > )
( txSkeleton , fromInfos , sudtToken , toAddress , amount , changeAddress ? , capacity ? , tipHeader ? , options ? ) : Promise < TransactionSkeletonType >
Parameters
sudtToken : string
toAddress : string
Optional
changeAddress : string
Optional
capacity : BIish
Optional
tipHeader : Header
options : Options & { LocktimePoolCellCollector ?: any ; splitChangeCell ?: boolean ; } = {}
unpack Amount : ( ( data ) => BI )
Defined in common-scripts/src/sudt.ts:730
Issue an sUDT cell