@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
37 lines • 1.22 kB
TypeScript
import { Account, Action, LockPeriod, TransferLockedTokensResponse } from '../../entities';
import { RequestConfig } from '../Transactions';
import { SignedTransaction } from './SignedTransaction';
export type TransferLockedTokensRequestProps = {
payeePublicKey: string;
canVote?: boolean;
periods: LockPeriod[];
amount: number;
maxFee: number;
technologyProviderId: string;
};
export type TransferLockedTokensRequestData = {
payee_public_key: string;
can_vote: 0 | 1;
periods: LockPeriod[];
amount: number;
max_fee: number;
actor: string;
tpid: string;
};
export declare class TransferLockedTokens extends SignedTransaction<TransferLockedTokensRequestData, TransferLockedTokensResponse> {
props: TransferLockedTokensRequestProps;
ENDPOINT: "chain/transfer_locked_tokens";
ACTION: Action;
ACCOUNT: Account;
constructor(config: RequestConfig, props: TransferLockedTokensRequestProps);
getData: () => {
actor: string;
amount: number;
can_vote: 0 | 1;
max_fee: number;
payee_public_key: string;
periods: LockPeriod[];
tpid: string;
};
}
//# sourceMappingURL=TransferLockedTokens.d.ts.map