@fioprotocol/fiosdk
Version:
The Foundation for Interwallet Operability (FIO) is a consortium of leading blockchain wallets, exchanges and payments providers that seeks to accelerate blockchain adoption by reducing the risk, complexity, and inconvenience of sending and receiving cryp
32 lines • 1.03 kB
TypeScript
import { Account, Action, TransferTokensResponse } from '../../entities';
import { RequestConfig } from '../Transactions';
import { SignedTransaction } from './SignedTransaction';
export type TransferTokensKeyRequestProps = {
payeeFioPublicKey: string;
amount: number;
maxFee: number;
technologyProviderId: string;
};
export type TransferTokensKeyRequestData = {
actor: string;
amount: number;
max_fee: number;
payee_public_key: string;
tpid: string;
};
export declare class TransferTokens extends SignedTransaction<TransferTokensKeyRequestData, TransferTokensResponse> {
private props;
ENDPOINT: "chain/transfer_tokens_pub_key";
ACTION: Action;
ACCOUNT: Account;
constructor(config: RequestConfig, props: TransferTokensKeyRequestProps);
prepareResponse(result: any): any;
getData: () => {
actor: string;
amount: number;
max_fee: number;
payee_public_key: string;
tpid: string;
};
}
//# sourceMappingURL=TransferTokens.d.ts.map