/peggy/v1/batch/last REST API Endpoint
Query Parameters
address
string
The Cosmos orchestrator or validator address used to identify the latest relevant batch
Returns
batch
object
OutgoingTxBatch represents a batch of transactions going from Peggy to ETH
batch_nonce
string
A unique identifier for the batch used to ensure ordering and prevent replay attacks
batch_timeout
string
A timeout value (timestamp or block height) after which the batch is no longer valid
transactions
array
List of token transfer transactions included in this outgoing batch
id
string
Unique identifier for the transaction within the batch
sender
string
Cosmos address of the user who initiated the transaction
dest_address
string
Ethereum address that will receive the tokens
erc20_token
object
ERC20Token unique identifier for an Ethereum ERC20 token which contains the following fields:
contract
string
Ethereum contract address of the token being transferred
amount
string
Token amount to be transferred, expressed as a string to support high precision
erc20_fee
object
ERC20 token fee for an Ethereum ERC20 token which contains the following fields:
contract
string
Ethereum contract address of the token used to pay the transaction fee
amount
string
Amount of the token to be paid as a fee for executing the transaction
token_contract
string
Ethereum contract address of the token used in this batch
block
string
Cosmos block height at which this batch was created or included
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free