@swing.xyz/cross-chain-api
Advanced tools
Comparing version 0.2.0 to 0.3.0
# @swing.xyz/cross-chain-api | ||
## 0.3.0 | ||
### Minor Changes | ||
- 71fdb99: Add endpoint to verify a completed transaction was made by a wallet address | ||
## 0.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -522,2 +522,8 @@ /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types */ | ||
bridge?: components["schemas"]["Bridge"] | components["schemas"]["Aggregator"]; | ||
/** @description Swing Unique Identifier for this transaction. Can be used as a reference ID in support inquiries. */ | ||
id?: number; | ||
/** @description Associated Swing Project Id with this transaction */ | ||
projectId?: string; | ||
/** @description Associated Affiliate Partner Id with this transaction */ | ||
affiliateId?: string; | ||
/** @description Internal unique identifier used by underlying bridge. Not guaranteed to be the transaction hash. For celer this is the transferId. */ | ||
@@ -576,4 +582,2 @@ txId?: string; | ||
txCompletedTimestamp?: number; | ||
updatedAt?: string; | ||
createdAt?: string; | ||
/** @description The final token address fallbacks into the destination chain */ | ||
@@ -583,6 +587,26 @@ fallbackTokenAddress?: string; | ||
fallbackAmount?: string; | ||
/** @description Swing Unique Identifier for this transaction. Can be used as a reference ID in support inquiries. */ | ||
id?: number; | ||
/** @description Associated Swing Project Id with this transaction */ | ||
projectId?: string; | ||
contractCall?: boolean; | ||
toContractCallAddress?: string; | ||
toContractCallData?: string; | ||
toContractCallTokenAddress?: string; | ||
toContractCallApprovalAddress?: string; | ||
toContractCallGasLimit?: string; | ||
destinationTxFee?: string; | ||
destinationTxFeeUsdValue?: string; | ||
bridgeFee?: string; | ||
bridgeFeeUsdValue?: string; | ||
bridgeFeeInNativeTokenUsdValue?: string; | ||
bridgeFeeInNativeToken?: string; | ||
bridgeTokenAddress?: string; | ||
bridgeTokenSymbol?: string; | ||
bridgeAmount?: string; | ||
bridgeAmountUsdValue?: string; | ||
gasUsage?: string; | ||
gasUsageUsdValue?: string; | ||
partnerShare?: string; | ||
partnerShareUsdValue?: string; | ||
swingShare?: string; | ||
swingShareUsdValue?: string; | ||
updatedAt?: string; | ||
createdAt?: string; | ||
}; | ||
@@ -817,2 +841,6 @@ /** | ||
amount?: string; | ||
/** @description Fee collector smart contracts for the balance of each token for the partner address. */ | ||
feeCollectorAddress?: string; | ||
/** @description Fee collector intergration name. It could be swing, squid... */ | ||
feeIntergationName?: string; | ||
}; | ||
@@ -1141,2 +1169,6 @@ /** PartnerBalance */ | ||
bridge?: components["schemas"]["Bridge"] | components["schemas"]["Aggregator"]; | ||
/** @description Optional. Number of transactions to return per page. Default is 100 */ | ||
limit?: number; | ||
/** @description Optional. The subset of transactions (page) to return based on the limit. This allows the ability to pageinate through all transactions. */ | ||
page?: number; | ||
}; | ||
@@ -1150,2 +1182,8 @@ }; | ||
transactions?: components["schemas"]["Transaction"][]; | ||
/** @description For pagination. Returns the current numbered page or subset of transactions based on the limit. */ | ||
currentPageNumber?: number; | ||
/** @description For pagination. Returns the total number of pages or subset of transactions based on the limit. */ | ||
totalPageCount?: number; | ||
/** @description Returns the total number of transactions per the original query based on the filters provided. Not impacted by pagination or the limit. */ | ||
totalTransactionCount?: number; | ||
}; | ||
@@ -1152,0 +1190,0 @@ }; |
{ | ||
"name": "@swing.xyz/cross-chain-api", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"publishConfig": { | ||
@@ -49,5 +49,5 @@ "access": "public" | ||
"openapi-typescript": "^6.7.5", | ||
"tsup": "^8.0.2", | ||
"tsx": "^4.7.3" | ||
"tsup": "^8.1.0", | ||
"tsx": "^4.16.0" | ||
} | ||
} |
73107
1595