crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
29 lines • 886 B
TypeScript
import * as SolKit from '@solana/kit';
import { SOLTxProvider } from '../sol';
export declare class SPLTxProvider extends SOLTxProvider {
create(params: {
recipients: Array<{
address: string;
amount: string;
addressKeyPair?: SolKit.KeyPairSigner;
}>;
from: string;
fee?: number;
feeRate: number;
txType?: 'legacy' | '0';
category?: 'transfer' | 'createAccount';
nonce?: string;
nonceAddress?: string;
blockHash?: string;
blockHeight?: number;
priorityFee?: number;
computeUnits?: number;
memo?: string;
fromKeyPair?: SolKit.KeyPairSigner;
space?: number;
tokenAddress: string;
fromAta: string;
decimals: number;
}): SolKit.Base64EncodedWireTransaction;
}
//# sourceMappingURL=index.d.ts.map