Initiate a transfer transaction
For UTXO transactions, the maximum number of input supported is 100 due to the limitation of transaction size and signature duration.
Request Body
- Array [
- ]
Vault id
Wallet id
The requestId of the requesting party's transaction
The symbol of the blockchain
Asset id
from address
to address
memo
Amount
Fee
Fee per byte
Transaction gasPrice, fuel price, ETH account model applicable, unit is wei
Transaction gasLimit, fuel cap, ETH account model applicable
Note:Used for some note information that users need
UTXO type, btc_only|all (including inscription), not required, btc_only in case of vacancy. Please use all carefully as it is possible to transfer the valuable inscription UTXO.
vins object[]
When the transaction is btc like, construct the vins used in the transaction, not required.
vout ID
tx hash
transfer index,Represents the current location of unspent transactions
Transaction address
Transaction amount
- 200
successful operation
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
data object
Complete transaction record
Sinohope is a unique identifier for transactions
The unique identifier of the requesting party for the business request
The sinoId of the replaced transaction when replacing old transactions through the transaction acceleration/cancellation interface
Unique identification of the chain
Transaction direction type:0 withdrawal (transactions initiated by system addresses as from addresses), 1 deposit
Transaction status:0-Transaction approval in progress 1-Transaction approval successful 2-Transaction on-chain in progress 4-Broadcast failure 5-Transaction on-chain failure 6-Network broadcast timeout 10-Transaction on-chain successful 11-Transaction on-chain rollback 12-Transaction pending approval 13-Transaction approval rejection
transaction object
Transaction information
Transaction hash
The type of transaction request initiated by the user, "Transfer" - transfer transaction initiated through the create_transfer interface; "Web3Tx" - transaction initiated through the create_transaction interface, which should generally be a contract transaction. For deposit transactions, it is empty.
from address
from address tag
to address
to address tag
Amount:Integer value with minimum precision, for example:1230000000000000000
Asset id
Asset precision
For assets such as ERC20/ERC721, the corresponding Token contract address of the asset
Fee assets
Fee asset precision
The actual transaction fee consumed, the minimum precision integer value
Fee assigned when constructing a transaction
Transaction gasPrice, fuel price, applicable to ETH account model, in wei units
Transaction gasLimit, fuel limit, applicable to ETH account model
Transaction nonce
Ethereum transaction data (this field is only valid for "Web3Tx" transactions initiated by create_transaction interface)
Valid time
Transaction expiry block height
Reference block height
vin object[]
utxo input, this parameter is only available when the currency is a utxo type currency
Transaction hash
Transaction index, representing the location of the current unspent transaction
Transaction address
Transaction amount
vout object[]
Transaction output, this parameter is only available when the currency is a utxo type currency
Transaction address
Transaction amount
brc20Details object[]
operation type
inscription name
the number of this operation
inscription id
1:commit 2:reveal 3:transfer
from address
to address
runeDetails object[]
User's explanatory information about the transaction, remarks
{
"code": 200,
"msg": "",
"data": {
"sinoId": "456417158498373",
"requestId": "3423434",
"replacedSinoId": "456417158498300",
"chainSymbol": "ETH",
"txDirection": 1,
"state": 10,
"transaction": {
"txHash": "0xee506b40220af3692be8b84a95a6e02d956164007d875812c1be26b594c2c27a",
"actionType": "Transfer",
"from": "0xc9cf7d652a036d65b3392dfcabc3d3c332082558",
"fromTag": "12300",
"to": "0xca1b41bc3c4ffa88e3a31bff85e3289ec375d138",
"toTag": "1001",
"amount": "1230000000000000000",
"assetId": "ETH_ETH",
"decimal": 18,
"contractAddress": "",
"feeAsset": "ETH_ETH",
"feeAssetDecimal": 18,
"usedFee": "21000000000000",
"fee": "30000000000000",
"gasPrice": "1000000000",
"gasLimit": "60000",
"nonce": "2",
"inputData": "0x095ea7b300000000000000000000000057a1a5869ce3203689d1785b02b55257cb3e1dc60000000000000000000000000000000000000000000000000000000000989680",
"expireTime": 1691500231,
"expireBlockHeight": 6566009,
"referBlockHeight": 6566020,
"vin": [
{
"hash": "0xa585a524c0f60d24d9c6bdebd47b94435d24e7f6181afbc1b6ba810d97cf0a77",
"voutIndex": "1",
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
],
"vout": [
{
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
]
},
"brc20Details": [
{
"method": "transfer",
"ticker": "lao8",
"quantity": "10",
"inscriptionId": "c04611b4986f69bab9cc311c2780f8af38b9c0ae7adda401e410869c5b84e1bbi0",
"step": 3,
"from": "mzF4dysdnBZ38d9pyhKavxM3wz9Xovipom",
"to": "2N8KGpP9knMMZJ7hgdjXsBsdMFoLKL4obEj"
}
],
"runeDetails": [
{
"fromAddress": "string",
"toAddress": "string",
"runeName": "HELLOWORLD",
"runeId": "28144:387",
"runeSpacedName": "HELLO•WORLD",
"runeSymbol": "string"
}
],
"note": ""
},
"success": true
}