Skip to content

Commit

Permalink
docs: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
graykode committed Apr 5, 2024
1 parent 91d74f8 commit e9c7b97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,13 @@ export const claimOrder = async (
options?: {
rpcUrl?: string
},
) => {
): Promise<Transaction> => {
return claimOrders(chainId, userAddress, [id], options)
}

/**
* Claims specified open orders for settlement.
* [IMPORTANT] Set ApprovalForAll before calling this function.
*
* @param {CHAIN_IDS} chainId The chain ID.
* @param {`0x${string}`} userAddress The Ethereum address of the user.
Expand Down Expand Up @@ -522,7 +523,7 @@ export const claimOrders = async (
options?: {
rpcUrl?: string
},
) => {
): Promise<Transaction> => {
const isApprovedForAll = await fetchIsApprovedForAll(
chainId,
userAddress,
Expand Down

0 comments on commit e9c7b97

Please sign in to comment.