Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 3.9 KB

CreateTempoTransferRequest.md

File metadata and controls

56 lines (40 loc) · 3.9 KB

CreateTempoTransferRequest

Request body for creating a Tempo transfer transaction.

Properties

Name Type Description Notes
note String A custom note that can be associated with the transaction. [optional]
externalTxId String Unique ID provided by the customer, used to identify the transaction. [optional]
feeCurrency String The asset ID used to pay the transaction fee, if different from assetId. Maps to FeeParams.feeCurrency. Must be a valid fee token for `assetId` (e.g. a TIP-20 gas token for the base asset); an invalid pairing surfaces as 400 INVALID_FEE_CURRENCY_PARAM. [optional]
assetId String The ID of the asset to transfer. Must be a non-deprecated asset supported on a Tempo-eligible blockchain; an unknown, deprecated, or unsupported asset surfaces as 400 UNSUPPORTED_ASSET.
source TempoTransferSource
destination TempoTransferDestination [optional]
amount String The amount to transfer, as a numeric string. Required when `destination` is set; must be omitted when `destinations` is set (each entry carries its own amount instead). [optional]
treatAsGrossAmount Boolean If true, the specified amount includes the fee (fee is deducted from amount). [optional]
feeLevel FeeLevelEnum The fee level to use, mutually exclusive with an explicit custom fee. [optional]
travelRuleMessage String Beta. An opaque travel-rule payload. [optional]
travelRuleMessageId String Beta. An identifier of a TravelRule message, already sent to the TravelRule provider. [optional]
useGasless Boolean Opt in to fee-payer-sponsored (gasless) transfer. [optional]
configurations TransactionConfigurations [optional]
maxFeePerGas String The maximum total fee per gas the sender is willing to pay, in wei. [optional]
maxPriorityFeePerGas String The maximum priority fee (tip) per gas the sender is willing to pay, in wei. [optional]
destinations List<TempoTransferDestinationItem> Multiple destinations for a single transfer. Mutually exclusive with `destination`. [optional]
failOnLowFee Boolean Beta. If true, fail the transaction rather than sending it with a low fee. [optional]
gasLimit String The gas limit for the transaction. [optional]
replaceTxByHash String Beta. The hash of the EVM transaction to replace (RBF). [optional]
feePayerAccountId String Vault account ID of the fee payer sponsoring this transfer. [optional]
nonceStrategy NonceStrategyEnum Tempo's 2-dimensional nonce strategy: `SEQUENTIAL` runs under a single nonce lane (lane 0); `USER_DEFINED_LANE` runs in parallel under a specified lane (1–16), and requires `nonceLane`; `EXPIRING` marks the transaction with an expiry of up to 5 minutes (Tempo-defined) and does not use `nonceLane`. [optional]
nonceLane Integer The nonce lane to use, 1–16. Required and only meaningful when nonceStrategy is USER_DEFINED_LANE; not used for SEQUENTIAL or EXPIRING. [optional]
memo String Beta. Tempo TIP-20 memo (max 32 bytes). [optional]

Enum: FeeLevelEnum

Name Value
LOW "LOW"
MEDIUM "MEDIUM"
HIGH "HIGH"

Enum: NonceStrategyEnum

Name Value
SEQUENTIAL "SEQUENTIAL"
USER_DEFINED_LANE "USER_DEFINED_LANE"
EXPIRING "EXPIRING"