Through this endpoint customers can prepare a transaction from an address with private and public keys. The address doesn’t have to belong to a wallet. The response will include the transaction fee in Wei.
Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while network like "testnet" is a test network.
Enum representation of the transaction type
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request.
Representation of the transacted amount
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.
The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.
Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.
Defines the amount of the transaction fee.
Representation of the exact amount
Represents the fee priority of the automation, whether it is "slow", "standard" or "fast"
Boolean representation of the subtract from amount
Representation of the transaction type. For Ethereum-Classic and Binance Smart Chain there is no need to provide "transactionType" in the request.
Specifies the version of the API that incorporates this endpoint.
Defines the ID of the request. The requestId
is generated by Crypto APIs and it's unique for every request.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context
is specified by the user.
Representation of the data in hex value
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.
The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.
Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.
Representation of the hash that should be signed
Representation of the transacted amount
Represents the unit of the amount transacted.
Defines the amount of the transaction fee.
Represents the price offered to the miner to purchase this amount of gas.
String representation of the max fee per gas
String representation of the max priority fee per gas
Represents the amount of gas used by this specific transaction alone.
Representation of the transaction type
API Key
{
"context": "yourExampleString",
"data": {
"item": {
"additionalData": "yourAdditionalStriingHere",
"amount": "2000000009340",
"nonce": "0",
"recipient": "0x0902a667d6a3f287835e0a4593cae4167384abc6",
"sender": "0x1d107b75353229768dff96051262ce0088a3e26b",
"fee": {
"exactAmount": "0.00001",
"priority": "standard",
"substractFromAmount": true
},
"type": "access-list-transaction"
}
}
}
{
"apiVersion": "2024-12-12",
"requestId": "601c1710034ed6d407996b30",
"context": "yourExampleString",
"data": {
"item": {
"inputData": "0x006e0065006b006100760073007400720069006e0067",
"nonce": 0,
"recipient": "0x041c594a0cc194e826bef5411b29c7f27001b7e3",
"sender": "0x03654A9E78771442CAdf8DB37ae60D6a12bAEa9f",
"sighash": "9f59f25bc9f6cbff293ceee32c1fb25ae82fab23a99b860e26cad800ceadd123",
"value": {
"amount": "2000000009340",
"unit": "WEI"
},
"fee": {
"gasPrice": 47125353,
"maxFeePerGas": "",
"maxPriorityFeePerGas": "",
"unit": "WEI"
},
"gasLimit": 21220,
"type": "legacy-transaction"
}
}
}