Documentation
    Preparing search index...

    Module @orca-so/common-sdk

    Orca Common SDK

    This package contains a set of utility functions used by other Typescript components in Orca.

    Math

    MathUtil
    Percentage
    ONE
    TWO
    U128
    U64_MAX
    ZERO

    Other

    DecimalUtil
    PublicKeyUtils
    ReadOnlyWallet
    SimpleAccountFetcher
    TransactionProcessor
    AccountFetcher
    LookupTable
    LookupTableFetcher
    Wallet
    Address
    BasicSupportedTypes
    BuildOptions
    FetchedAccountEntry
    FetchedAccountMap
    RetentionPolicy
    SimpleAccountFetchOptions
    TransactionBuilderOptions
    DEFAULT_MAX_COMPUTE_UNIT_LIMIT
    DEFAULT_MAX_PRIORITY_FEE_LAMPORTS
    DEFAULT_MIN_PRIORITY_FEE_LAMPORTS
    DEFAULT_PRIORITY_FEE_PERCENTILE
    defaultTransactionBuilderOptions
    MEASUREMENT_BLOCKHASH
    MICROLAMPORTS_PER_LAMPORT
    TX_BASE64_ENCODED_SIZE_LIMIT
    TX_SIZE_LIMIT
    estimateComputeBudgetLimit
    getLockWritableAccounts
    getMultipleAccounts
    getMultipleAccountsInMap
    getMultipleParsedAccounts
    getParsedAccount
    getPriorityFeeInLamports
    isVersionedTransaction
    resolveOrCreateATA
    resolveOrCreateATAs
    setLoadedAccountsDataSizeLimitInstruction
    staticImplements

    Parsables

    ParsableMintInfo
    ParsableTokenAccountInfo
    ParsableEntity
    AccountWithTokenProgram
    MintWithTokenProgram

    Transactions

    TransactionBuilder

    Transactions Util

    Instruction
    SendTxRequest
    TransactionPayload
    EMPTY_INSTRUCTION

    Util

    AddressUtil
    TokenUtil
    PDA
    ResolvedTokenAddressInstruction
    WrappedSolAccountCreateMethod