Transactions
Send transactions on Aptos using OneKey
Learn how to sign and submit transactions on Aptos.
Sign and Submit Transaction
// Simple APT transfer
const payload = {
type: 'entry_function_payload',
function: '0x1::aptos_account::transfer',
type_arguments: [],
arguments: [
'0x1234...', // Recipient address
'100000000', // Amount in Octas (1 APT = 100000000 Octas)
],
}
const response = await provider.signAndSubmitTransaction(payload)
console.log('Transaction hash:', response.hash)Sign Transaction (Without Submitting)
Sign Transaction V2 (BCS Serialized)
For advanced use cases with BCS-serialized transactions:
Transaction Options
Smart Contract Interaction
Call View Function
Call Entry Function
Multi-Agent Transactions
For transactions requiring multiple signers:
Fee Payer Transactions
Sign as a fee payer for sponsored transactions:
Last updated
Was this helpful?