Palette Developer Documentation
  • Palette Developer Documentation
  • About Palette
    • Concepts
      • Follow Standards
        • Palette Token Standard
        • Palette NFT Token Standard
        • Transaction Format
      • Validator Management
      • Stake
        • Current delegation reward return coefficient β
      • Gas
    • Palette White Paper
    • Update Notes
  • Development
    • Developer Tutorials
      • Your First Transaction
      • Your First NFT
    • Blockchain Deployments
  • TOOLS
    • Palettescan
    • Palette API
    • PLT Wallet
  • Infomation
    • Incident Report
      • Block Generation Suspension on Apr. 14-15
Powered by GitBook
On this page
  1. About Palette
  2. Concepts
  3. Follow Standards

Transaction Format

type Transaction struct {
	from common.Address
	to common.Address 
	nonce uint64
	amount *big.Int
	gasLimit uint64
	gasPrice *big.Int 
	data []byte
}
  • from: address of the transaction sender

  • to: address of the transaction destination. Palette manages a fixed, non-repeated effective address internally, and implements the routing relationship between contract addresses and native contract objects through a native contract router. it should be empty bytes array or nil when deploying the NFT asset contract.

  • nonce: sequence of the transaction sender account.

  • data: transaction payload, this field should be empty bytes array or nil while deploying NFT asset contract.

  • gasPrice: The value for gas price on the Palette chain should be 0.

PreviousPalette NFT Token StandardNextValidator Management

Last updated 9 months ago