File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
modules/sdk-coin-apt/src/lib Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ import {
2+ TransactionExplanation as BaseTransactionExplanation ,
3+ TransactionType as BitGoTransactionType ,
4+ } from '@bitgo/sdk-core' ;
5+
6+ export enum AptTransactionType {
7+ Transfer = 'Transfer' ,
8+ TokenTransfer = 'TokenTransfer' ,
9+ }
10+
11+ export interface TransactionExplanation extends BaseTransactionExplanation {
12+ type : BitGoTransactionType ;
13+ }
14+
115/**
216 * The transaction data returned from the toJson() function of a transaction
317 */
418export interface TxData {
519 id : string ;
20+ sender : string ;
21+ sequenceNumber : BigInt ;
22+ maxGasAmount : BigInt ;
23+ gasUnitPrice : BigInt ;
24+ expirationTime : BigInt ;
25+ payload : AptPayload ;
26+ chainId : number ;
27+ }
28+
29+ export interface AptPayload {
30+ function : string ;
31+ typeArguments : string [ ] ;
32+ arguments : string [ ] ;
33+ type : string ;
634}
You can’t perform that action at this time.
0 commit comments