@tributary-so/sdk
    Preparing search index...

    Class AccountDataBuilder

    Fluent builder for AssertAccountData / AssertAccountDataMulti.

    Each assertion reads a typed value at a byte offset in the account data.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Assert a typed value at a byte offset.

      Parameters

      • offset: number

        Byte offset into the account data

      • type: "U8" | "I8" | "U16" | "I16" | "U32" | "I32" | "U64" | "I64" | "U128" | "I128"
      • value: number | bigint

        Expected value (bigint for 64/128-bit, number otherwise)

      • operator: IntOpString | IntegerOperator

        Integer operator for numeric types, equatable for Bool/Pubkey/Bytes

      Returns this

    • Assert a typed value at a byte offset.

      Parameters

      • offset: number

        Byte offset into the account data

      • type: "Bool"
      • value: boolean

        Expected value (bigint for 64/128-bit, number otherwise)

      • operator: EqOpString | EquatableOperator

        Integer operator for numeric types, equatable for Bool/Pubkey/Bytes

      Returns this