Skip to content

Commit

Permalink
fix(near): modify claim data to match structure
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Oct 21, 2024
1 parent 9b4d01e commit 3dabf97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/near/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export async function nearHandler({
source_chain: input.sourceChain,
source_nft_contract_address: input.sourceNftContractAddress,
symbol: input.symbol,
token_amount: BigInt(input.tokenAmount),
token_amount: Number(input.tokenAmount),
token_id: input.tokenId,
transaction_hash: input.transactionHash,
lock_tx_chain: input.lockTxChain,
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/near/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type TNearClaimArgs = {
royalty_receiver: string;
metadata: string;
transaction_hash: string;
token_amount: bigint;
token_amount: number;
nft_type: string;
fee: string;
lock_tx_chain: string;
Expand Down

0 comments on commit 3dabf97

Please sign in to comment.