MultipleChain Docs V0.4
  • OVERVIEW
    • 👋Welcome
    • 😇Doc Logic
  • STRUCTURE
    • 🪙Assets
      • Common
      • Coin
      • NFT
      • Token
      • Contract
    • 📝Models
      • Common
      • Transaction
      • CoinTransaction
      • NftTransaction
      • TokenTransaction
      • ContractTransaction
    • 📬Services
      • Provider
      • TransactionSigner
      • TransactionListener
    • 💻Browser
  • NETWORKS
    • 🔗Etherem (EVM)
    • 🔗Solana
    • 🔗Bitcoin
    • 🔗Tron
  • LANGUAGES
    • 💻JavaScript (TS)
      • Node
      • Browser
    • 💻PHP
Powered by GitBook
On this page
  • What is it?
  • Methods
  1. STRUCTURE
  2. Models

ContractTransaction

What is it?

This class is extended from Transaction and, unlike the others, has only one method. There is also a method called decodeData for EVM and Tron. This method can be found as needed on many blockchain networks and decodes the input data of the respective contract transactions.

Methods

import { models } from '@multiplechain/evm-chains'

const tx = new models.ContractTransaction('0x1234')

const address = tx.getAddress()

const decodeData = await tx.decodeData()
PreviousTokenTransactionNextServices

Last updated 10 months ago

📝