Skip to content

Commit

Permalink
feat: add solana token data request
Browse files Browse the repository at this point in the history
  • Loading branch information
vrockz747 committed Jan 1, 2025
1 parent 84ea3b7 commit 709d7c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/app-solana/src/operations/signTxn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const signTxn = async (
walletId: params.walletId,
derivationPath: params.derivationPath,
transactionSize: txnBytes.length,
tokenData: params.tokenData,
},
});

Expand Down
3 changes: 3 additions & 0 deletions packages/app-solana/src/operations/signTxn/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { ISignTxnInitiateTokenData } from '../../proto/generated/types';

export enum SignTxnEvent {
INIT = 0,
CONFIRM = 1,
Expand All @@ -14,6 +16,7 @@ export interface ISignTxnParams {
walletId: Uint8Array;
derivationPath: number[];
txn: string;
tokenData?: ISignTxnInitiateTokenData;
getLatestBlockHash?: (network?: string) => Promise<string>;
serializeTxn?: boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion submodules/common

0 comments on commit 709d7c0

Please sign in to comment.