Octav - API Documentation
  • Welcome
  • Getting Started
    • API Access
    • Portfolio
    • Wallet
    • Transactions
    • Synchronization
    • Status
    • credits
  • API Models
    • Portfolio
      • AssetByProtocols
      • Chains
      • ProtocolPosition
      • Asset
      • ChainSummary
      • NFTCollection
      • NFTChain
      • NFTAsset
    • Transaction
      • Asset
      • NativeAssetFees
  • Additional Informations
    • Chains supported by Octav
    • Protocol types supported by Octav
    • Transaction type
    • Data freshness
  • Changelog
Powered by GitBook
On this page
  1. Additional Informations

Transaction type

This is all the transaction type existing in Octav.

export declare enum TransactionType {
    ADDLIQUIDITY = "ADDLIQUIDITY",
    AIRDROP = "AIRDROP",
    APPROVAL = "APPROVAL",
    BORROW = "BORROW",
    BRIDGEIN = "BRIDGEIN",
    BRIDGEOUT = "BRIDGEOUT",
    CLAIM = "CLAIM",
    COLLECT = "COLLECT",
    CLOSEVAULT = "CLOSEVAULT",
    DEPOSIT = "DEPOSIT",
    DONATION = "DONATION",
    EXPENSE = "EXPENSE",
    FAILED = "FAILED",
    FOLLOW = "FOLLOW",
    IGNORE = "IGNORE",
    INTERACTION = "INTERACTION",
    LEND = "LEND",
    MINT = "MINT",
    MULTITYPE = "MULTITYPE",
    OPENVAULT = "OPENVAULT",
    REPAYVAULT = "REPAYVAULT",
    REMOVELIQUIDITY = "REMOVELIQUIDITY",
    SIGN = "SIGN",
    SELFTRANSFER = "SELFTRANSFER",
    SPAM = "SPAM",
    STAKE = "STAKE",
    SWAP = "SWAP",
    TRANSFERIN = "TRANSFERIN",
    TRANSFEROUT = "TRANSFEROUT",
    UNDEFINED = "UNDEFINED",
    UNSTAKE = "UNSTAKE",
    UNWRAP = "UNWRAP",
    VOTE = "VOTE",
    WITHDRAW = "WITHDRAW",
    WRAP = "WRAP"
}

Transaction type definition :

  • ADDLIQUIDITY: Depositing assets into a liquidity pool on a decentralized exchange (DEX) to provide liquidity and earn fees.

  • AIRDROP: Receiving free tokens from a project as a promotion or reward.

  • APPROVAL: Granting permission for a smart contract to access tokens in a wallet (e.g., before using DeFi apps).

  • BORROW: Taking a loan from a DeFi lending protocol by providing collateral.

  • BRIDGEIN: Receiving assets from another blockchain via a cross-chain bridge.

  • BRIDGEOUT: Sending assets to another blockchain through a bridge.

  • CLAIM: Claiming rewards, airdrops, or other distributed assets from a smart contract.

  • CLOSEVAULT: Closing a vault after repaying the debt.

  • COLLECT: Gathering yield, fees, or rewards from a DeFi platform.

  • DEPOSIT: Adding funds to an exchange, protocol, or staking platform.

  • DONATION: Sending assets to a cause, organization, or individual as a donation.

  • EXPENSE: A payment or expense transaction, typically off-chain services paid in crypto.

  • FAILED: A transaction that did not succeed due to issues like insufficient gas fees or smart contract errors.

  • FOLLOW: Following another wallet or social account in blockchain-based social networks.

  • IGNORE: A transaction that is deliberately disregarded or not categorized.

  • INTERACTION: General interaction with a smart contract, such as executing custom functions on a DeFi protocol.

  • LEND: Supplying assets to a lending protocol to earn interest.

  • MINT: Creating new tokens or NFTs.

  • MULTITYPE: A transaction that falls into multiple categories simultaneously (e.g., swap + stake).

  • OPENVAULT: Creating a new vault in a lending protocol (e.g., MakerDAO CDP).

  • REPAYVAULT: Paying back a borrowed loan in a vault-based lending protocol.

  • REMOVELIQUIDITY: Withdrawing assets from a liquidity pool, usually receiving the original tokens plus any earned fees.

  • SELFTRANSFER: Moving tokens between wallets owned by the same user.

  • SIGN: Signing a message or transaction onchain (often used for authentication).

  • SPAM: A low-quality or irrelevant transaction, often categorized as an unwanted airdrop or phishing attempt.

  • STAKE: Locking up assets in a staking contract to earn rewards, typically in Proof-of-Stake (PoS) networks or yield farming.

  • SWAP: Exchanging one cryptocurrency for another, typically via a decentralized exchange (DEX) like Uniswap.

  • TRANSFERIN: Receiving tokens from another address.

  • TRANSFEROUT: Sending tokens to another address.

  • UNDEFINED: A transaction type that does not fit any known category.

  • UNSTAKE: Withdrawing previously staked assets, potentially losing staking rewards if unstaked early.

  • UNWRAP: Converting a wrapped asset back to its original form.

  • VOTE: Participating in onchain governance by voting on proposals.

  • WITHDRAW: Removing funds from an exchange, protocol, or staking platform.

  • WRAP: Converting a native asset into a wrapped version (e.g., ETH to WETH) to use it in DeFi applications.

PreviousProtocol types supported by OctavNextData freshness

Last updated 1 month ago