PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-substrate/lib/methods/poolAssets

Просмотр файла: transfer.d.ts

import { Args, BaseTxInfo, OptionsWithMeta, UnsignedTransaction } from '@substrate/txwrapper-core';
export interface PoolAssetsTransferArgs extends Args {
    /**
     * The identifier of the asset from poolAsset to have some amount transferred formatted as a number.
     */
    id: number;
    /**
     * The account to be credited.
     */
    target: string;
    /**
     * The amount by which the sender's balance of the asset from poolAssets should be reduced and
     * `target`'s balance increased. The amount actually transferred may be slightly greater in
     * the case that the transfer would otherwise take the sender balance above zero but below
     * the minimum balance. Must be greater than zero.
     */
    amount: number | string;
}
/**
 * Move some asset from poolAssets from the sender account to another.
 *
 * @param args - Arguments specific to this method.
 * @param info - Information required to construct the transaction.
 * @param options - Registry and metadata used for constructing the method.
 */
export declare function transfer(args: PoolAssetsTransferArgs, info: BaseTxInfo, options: OptionsWithMeta): UnsignedTransaction;

Выполнить команду


Для локальной разработки. Не используйте в интернете!