curl --request GET \
--url https://api.circle.com/v1/w3s/transactions/lowestNonceTransaction \
--header 'Authorization: Bearer <token>'{
"data": {
"transaction": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"blockchain": "MATIC-AMOY",
"createDate": "2023-01-01T12:04:05Z",
"state": "CANCELLED",
"transactionType": "INBOUND",
"updateDate": "2023-01-01T12:04:05Z",
"abiFunctionSignature": "burn(uint256)",
"abiParameters": [
"100",
"1"
],
"amounts": [
"6.62607015"
],
"amountInUSD": "<string>",
"blockHash": "<string>",
"blockHeight": 123,
"contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"custodyType": "DEVELOPER",
"destinationAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"errorReason": "<string>",
"errorDetails": "<string>",
"estimatedFee": {
"gasLimit": "21000",
"gasPrice": "<string>",
"maxFee": "5.935224468",
"priorityFee": "1.022783914",
"baseFee": "1.022783914",
"networkFee": "0.0001246397138",
"networkFeeRaw": "0.0001246397138",
"l1Fee": "0.000000000000140021"
},
"feeLevel": "MEDIUM",
"firstConfirmDate": "2021-05-18T00:00:00Z",
"networkFee": "<string>",
"networkFeeInUSD": "<string>",
"nfts": [
"[{\"ntfTokenId\":\"12321\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/1\"}",
"{\"ntfTokenId\":\"12322\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/2\"}]"
],
"operation": "TRANSFER",
"refId": "grouptransaction123",
"sourceAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"tokenId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"txHash": "0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d",
"userId": "ext_user_id_1",
"walletId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"transactionScreeningEvaluation": {
"screeningDate": "2023-01-01T12:04:05Z",
"ruleName": "Low Gambling Risk (Owner)",
"actions": [
"REVIEW"
],
"reasons": [
{
"source": "ADDRESS",
"sourceValue": "0x1bf9ad0cc2ad298c69a2995aa806ee832788218c",
"riskScore": "LOW",
"riskCategories": [
"GAMBLING"
],
"type": "OWNERSHIP"
}
]
}
},
"feeInfo": {
"newHighEstimatedFee": {
"gasLimit": "21000",
"gasPrice": "<string>",
"maxFee": "5.935224468",
"priorityFee": "1.022783914",
"baseFee": "1.022783914",
"networkFee": "0.0001246397138",
"networkFeeRaw": "0.0001246397138",
"l1Fee": "0.000000000000140021"
},
"feeDifferenceAmount": "0.1"
}
}
}For a nonce-supported blockchain, get the lowest nonce transaction that’s in QUEUED or SENT or STUCK state for the provided wallet.
curl --request GET \
--url https://api.circle.com/v1/w3s/transactions/lowestNonceTransaction \
--header 'Authorization: Bearer <token>'{
"data": {
"transaction": {
"id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"blockchain": "MATIC-AMOY",
"createDate": "2023-01-01T12:04:05Z",
"state": "CANCELLED",
"transactionType": "INBOUND",
"updateDate": "2023-01-01T12:04:05Z",
"abiFunctionSignature": "burn(uint256)",
"abiParameters": [
"100",
"1"
],
"amounts": [
"6.62607015"
],
"amountInUSD": "<string>",
"blockHash": "<string>",
"blockHeight": 123,
"contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"custodyType": "DEVELOPER",
"destinationAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"errorReason": "<string>",
"errorDetails": "<string>",
"estimatedFee": {
"gasLimit": "21000",
"gasPrice": "<string>",
"maxFee": "5.935224468",
"priorityFee": "1.022783914",
"baseFee": "1.022783914",
"networkFee": "0.0001246397138",
"networkFeeRaw": "0.0001246397138",
"l1Fee": "0.000000000000140021"
},
"feeLevel": "MEDIUM",
"firstConfirmDate": "2021-05-18T00:00:00Z",
"networkFee": "<string>",
"networkFeeInUSD": "<string>",
"nfts": [
"[{\"ntfTokenId\":\"12321\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/1\"}",
"{\"ntfTokenId\":\"12322\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/2\"}]"
],
"operation": "TRANSFER",
"refId": "grouptransaction123",
"sourceAddress": "0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350",
"tokenId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"txHash": "0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d",
"userId": "ext_user_id_1",
"walletId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
"transactionScreeningEvaluation": {
"screeningDate": "2023-01-01T12:04:05Z",
"ruleName": "Low Gambling Risk (Owner)",
"actions": [
"REVIEW"
],
"reasons": [
{
"source": "ADDRESS",
"sourceValue": "0x1bf9ad0cc2ad298c69a2995aa806ee832788218c",
"riskScore": "LOW",
"riskCategories": [
"GAMBLING"
],
"type": "OWNERSHIP"
}
]
}
},
"feeInfo": {
"newHighEstimatedFee": {
"gasLimit": "21000",
"gasPrice": "<string>",
"maxFee": "5.935224468",
"priorityFee": "1.022783914",
"baseFee": "1.022783914",
"networkFee": "0.0001246397138",
"networkFeeRaw": "0.0001246397138",
"l1Fee": "0.000000000000140021"
},
"feeDifferenceAmount": "0.1"
}
}
}Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.
Filter by blockchain. The blockchain network that the resource is to be created on or is currently on.
ETH, ETH-SEPOLIA, AVAX, AVAX-FUJI, MATIC, MATIC-AMOY, SOL, SOL-DEVNET, ARB, ARB-SEPOLIA, NEAR, NEAR-TESTNET, EVM, EVM-TESTNET, UNI, UNI-SEPOLIA, BASE, BASE-SEPOLIA, OP, OP-SEPOLIA, APTOS, APTOS-TESTNET, ARC-TESTNET, MONAD, MONAD-TESTNET "MATIC-AMOY"
Filter by the blockchain address of the wallet. Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Filter by the wallet ID
The lowest nonce transaction is fetched
Show child attributes
Show child attributes
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
The blockchain network that the resource is to be created on or is currently on.
ETH, ETH-SEPOLIA, AVAX, AVAX-FUJI, MATIC, MATIC-AMOY, SOL, SOL-DEVNET, ARB, ARB-SEPOLIA, NEAR, NEAR-TESTNET, EVM, EVM-TESTNET, UNI, UNI-SEPOLIA, BASE, BASE-SEPOLIA, OP, OP-SEPOLIA, APTOS, APTOS-TESTNET, ARC-TESTNET, MONAD, MONAD-TESTNET "MATIC-AMOY"
Date and time the resource was created, in ISO-8601 UTC format.
"2023-01-01T12:04:05Z"
Current state of the transaction.
CANCELLED, CONFIRMED, COMPLETE, DENIED, FAILED, INITIATED, CLEARED, QUEUED, SENT, STUCK INBOUND, OUTBOUND Date and time the resource was last updated, in ISO-8601 UTC format.
"2023-01-01T12:04:05Z"
The contract ABI function signature or callData field is required for interacting with the smart contract. The ABI function signature cannot be used simultaneously with callData. e.g. burn(uint256)
"burn(uint256)"
The contract ABI function signature parameters for executing the contract interaction. Supported parameter types include string, integer, boolean, and array. These parameters should be used exclusively with the abiFunctionSignature and cannot be used with callData.
["100", "1"]Transfer amounts in decimal number format, at least one element is required for transfer. For ERC721 token transfer, the amounts field is required to be ["1"] (array with "1" as the only element).
["6.62607015"]Transaction amount in USD decimal format.
Identifier for the block that includes the transaction.
Block height of the transaction, representing the number of blockchain confirmations.
The blockchain address of the contract to be executed.
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Describes who controls the digital assets in a wallet: either the end-user or the developer.
DEVELOPER, ENDUSER Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
Description of the error. Only present for transactions in FAILED state.
Additional detail associated with the corresponding transaction's error reason
The estimated fee for the transaction. For Get Transactions API, this will only be returned if transaction type is used in the request query parameters
Show child attributes
The maximum units of gas to use for the transaction. Required if feeLevel is not provided.
Estimates for this limit can be obtained through the POST /transactions/transfer/estimateFee API.
GasLimit override (only supported for EOA wallets): Using gasLimit together with feeLevel, the provided gasLimit is required to be greater or equal to feeLevel estimation and will override the estimation's gasLimit.
"21000"
For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see gasLimit). Requires gasLimit. Cannot be used with feeLevel, priorityFee, or maxFee.
Estimates for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
For blockchains with EIP-1559 support, the maximum price per unit of gas (see gasLimit), in gwei. Requires priorityFee, and gasLimit to be present. Cannot be used with feeLevel or gasPrice.
Estimates for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
"5.935224468"
For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators.
Please note that the maxFee and gasLimit parameters are required alongside the priorityFee. The feeLevel and gasPrice parameters cannot be used with the priorityFee.
Estimations for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
"1.022783914"
For blockchains with EIP-1559 support, the estimated base fee represents the minimum fee required for a transaction to be included in a block on the blockchain. It is measured in gwei and compensates for the computational resources validators consume to process the transaction. The base fee is supplemented by a separate "tip" called the priority fee, which acts as an extra incentive for validators to prioritize the transaction. The priority fee is added to the base fee to calculate the final transaction fee.
"1.022783914"
The estimated network fee is the maximum amount of cryptocurrency (such as ETH, ARB, or SOL) that you will pay for your transaction. This fee depends on the parameters you set, including Gas Limit, Priority Fee, and Max Fee.
It compensates for the computational resources that validators consume to process the transaction. It is measured in native token such as ETH, SOL.
For blockchains with L1 data fees such as OP/BASE, the network fee is a combination of the Execution Gas Fee and the L1 Data Fee.
Each blockchain might use different formula for network fee. Refer to each specific blockchain's documentation to understand how networkFee is calculated.
"0.0001246397138"
Similar to networkFee, networkFeeRaw is an estimation with lower buffer and thus should be closer to the actual on-chain expense.
This field will only be returned in the estimation response.
"0.0001246397138"
This fee represents the Layer 1 (L1) rollup charge associated with transactions on Layer 2 blockchains. The amount is expressed in the native currency, such as ETH. This field is relevant for Layer 2 blockchains utilizing a rollup mechanism and for specific account types, such as externally owned accounts (EOAs) on the Optimism (OP) blockchain.
"0.000000000000140021"
Defines the blockchain fee level which will be paid for the transaction e.g. LOW, MEDIUM, HIGH. For Get Transactions API, this will only be returned if transaction type is used in the request query parameters
LOW, MEDIUM, HIGH "MEDIUM"
Date the transaction was first confirmed in a block. ISO-8601 UTC date/time.
"2021-05-18T00:00:00Z"
Gas fee, in native token, paid to the network for the transaction.
Gas fee, in USD, paid to the network for the transaction.
List of Nfts, in JSON string format, associated with the transaction.
[
"[{\"ntfTokenId\":\"12321\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/1\"}",
"{\"ntfTokenId\":\"12322\"",
"\"metadata\":\"ipfs://QmZcH4YvBVVRJtdn4RdbaqgspFU8gH6P9vomDpBVpAL3u4/2\"}]"
]Operation type of the transaction.
TRANSFER, CONTRACT_EXECUTION, CONTRACT_DEPLOYMENT Optional reference or description used to identify the transaction.
"grouptransaction123"
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
"0xca9142d0b9804ef5e239d3bc1c7aa0d1c74e7350"
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
Blockchain generated identifier of the transaction.
"0x4a25cc5e661d8504b59c5f38ba93f010e8518966f00e2ceda7955c4b8621357d"
Unique system generated identifier for the user.
5 - 50"ext_user_id_1"
System-generated unique identifier of the resource.
"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"
This field is optional and applicable to Compliance Engine customers only. Screening decision detail about matched rule, actions to take, and all related risk signals.
Show child attributes
Date and time the resource was created, in ISO-8601 UTC format.
"2023-01-01T12:04:05Z"
Name of the matched rule found in screening.
"Low Gambling Risk (Owner)"
Actions to take for the decision.
An action to to take for the decision.
APPROVE, REVIEW, FREEZE_WALLET, DENY ["REVIEW"]Risk signals found include source, value, and type of the signal. It also contains risk score and risk category.
Show child attributes
Source of the risk signal.
ADDRESS, BLOCKCHAIN, ASSET "ADDRESS"
Value of the source. For example, if source is “ADDRESS”. The source value would be an blockchain address.
"0x1bf9ad0cc2ad298c69a2995aa806ee832788218c"
Risk score of the signal.
UNKNOWN, LOW, MEDIUM, HIGH, SEVERE, BLOCKLIST "LOW"
List of risk categories for the signal.
The category of the associated risk of the blockchain address.
SANCTIONS, CSAM, ILLICIT_BEHAVIOR, GAMBLING, TERRORIST_FINANCING, UNSUPPORTED, FROZEN, OTHER, HIGH_RISK_INDUSTRY, PEP, TRUSTED, HACKING, HUMAN_TRAFFICKING, SPECIAL_MEASURES ["GAMBLING"]Type of the signal.
OWNERSHIP, COUNTERPARTY, INDIRECT "OWNERSHIP"
Show child attributes
The latest HIGH estimated fee for the transaction.
Show child attributes
The maximum units of gas to use for the transaction. Required if feeLevel is not provided.
Estimates for this limit can be obtained through the POST /transactions/transfer/estimateFee API.
GasLimit override (only supported for EOA wallets): Using gasLimit together with feeLevel, the provided gasLimit is required to be greater or equal to feeLevel estimation and will override the estimation's gasLimit.
"21000"
For blockchains without EIP-1559 support, the maximum price of gas, in gwei, to use per each unit of gas (see gasLimit). Requires gasLimit. Cannot be used with feeLevel, priorityFee, or maxFee.
Estimates for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
For blockchains with EIP-1559 support, the maximum price per unit of gas (see gasLimit), in gwei. Requires priorityFee, and gasLimit to be present. Cannot be used with feeLevel or gasPrice.
Estimates for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
"5.935224468"
For blockchains with EIP-1559 support, the “tip”, in gwei, to add to the base fee as an incentive for validators.
Please note that the maxFee and gasLimit parameters are required alongside the priorityFee. The feeLevel and gasPrice parameters cannot be used with the priorityFee.
Estimations for this fee can be obtained through the POST /transactions/transfer/estimateFee API.
"1.022783914"
For blockchains with EIP-1559 support, the estimated base fee represents the minimum fee required for a transaction to be included in a block on the blockchain. It is measured in gwei and compensates for the computational resources validators consume to process the transaction. The base fee is supplemented by a separate "tip" called the priority fee, which acts as an extra incentive for validators to prioritize the transaction. The priority fee is added to the base fee to calculate the final transaction fee.
"1.022783914"
The estimated network fee is the maximum amount of cryptocurrency (such as ETH, ARB, or SOL) that you will pay for your transaction. This fee depends on the parameters you set, including Gas Limit, Priority Fee, and Max Fee.
It compensates for the computational resources that validators consume to process the transaction. It is measured in native token such as ETH, SOL.
For blockchains with L1 data fees such as OP/BASE, the network fee is a combination of the Execution Gas Fee and the L1 Data Fee.
Each blockchain might use different formula for network fee. Refer to each specific blockchain's documentation to understand how networkFee is calculated.
"0.0001246397138"
Similar to networkFee, networkFeeRaw is an estimation with lower buffer and thus should be closer to the actual on-chain expense.
This field will only be returned in the estimation response.
"0.0001246397138"
This fee represents the Layer 1 (L1) rollup charge associated with transactions on Layer 2 blockchains. The amount is expressed in the native currency, such as ETH. This field is relevant for Layer 2 blockchains utilizing a rollup mechanism and for specific account types, such as externally owned accounts (EOAs) on the Optimism (OP) blockchain.
"0.000000000000140021"
Difference between new HIGH estimation and transaction's existing estimated fee, in native token amount unit, for example ETH
"0.1"
Was this page helpful?