Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit f61c421

Browse files
committed
pass amount as string to oracle service
1 parent 8075bf2 commit f61c421

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/messages/v2.2/withdrawal-execution.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,13 @@ export function getWithdrawalAddress(
109109
}
110110

111111
// for oracle requests, we replace the hub chain id by a slug (e.g. 'base')
112+
// and we pass the amount as a string
112113
export type WithdrawalAddressRequest = Omit<
113114
WithdrawalAddressParams,
114-
"depositoryChainId"
115+
"depositoryChainId" | "amount"
115116
> & {
116117
depositoryChainSlug: string;
118+
amount: string;
117119
};
118120

119121
// types for oracle routes

0 commit comments

Comments
 (0)