OnchainOS
DApp Connect Wallet
Introduction
What is OnchainOS
Preparation
Available Networks
Wallet API
Introduction
Quickstart
API Reference
Account Management
Asset Management
Transaction Sending
Get Sign Info
Get Gas Price
Get Gas Limit
Get Nonce
All UTXOs
UTXO Inscription Asset Details
Address Validation
Transaction Broadcast
Set Broadcast Strategy
Query Broadcast Strategies
Transaction History
Common Information
Webhook
Signing SDK
Resources
DEX API
Introduction
Quick start
Swap API
Cross-chain API
Limit order API
DEX Widget
Marketplace API
Introduction
Runes API
Market API
Ordinals API
Error codes
DeFi API
Introduction
Quickstart
API reference
Error code
More resources
Wallet API (Legacy)
General specification
Apply to display DApps
App Universal Link
OKX-ord node
Changelog
Wallet API
OnchainOS
Wallet API
API Reference
Transaction Sending
Transaction Sending
#
This section introduces API interfaces related to how to send transactions.
Get Sign Info
Provides parameters such as network fees and nonce required for signing.
Get Gas Price
Dynamically retrieve the gas price for EVM account models and UTXO models.
Get Gas Limit
Retrieve the estimated Gas limit.
Get Nonce
Retrieve the transaction sequence number (Nonce).
Address Validation
Before the transaction, determine if the address is valid.
Transaction Broadcasting
Broadcast the transaction to the chain.
UTXO Dependent Transaction Broadcasting
Broadcast multiple UTXO transactions that need to be executed in a specific order.
Set Broadcasting Strategy
Set the order of transaction broadcasting and the number of retries if broadcasting fails.
Get Broadcasting Strategy
Query the broadcasting strategies have been set.