@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
31 lines (30 loc) • 783 B
TypeScript
import { DefaultSendArgs } from './defaultSendArgs';
/**
* The argument object for {@link AssetApi.transferAsset}
*
*
* @category args
*/
export interface TransferAssetArgs extends DefaultSendArgs {
/**
* The assets id to be transferred
*/
assetId: string;
/**
* The amount of assets to be transferred (take the decimals into consideration)
* If you set decimals to 4 and want to have 100 full assets, you need to set this value to 1000000
*/
quantity: string | number;
/**
* The id of the recipient
*/
recipientId: string;
/**
* The _optional_ recipients public key in hex format.
*/
recipientPublicKey?: string;
/**
* The amount to be sent as Planck value
*/
amountPlanck?: string;
}