bitbadgesjs-sdk - v0.27.2
    Preparing search index...

    Class ExtensionOptionsWeb3TxBitcoin

    ExtensionOptionsWeb3Tx is an extension option that specifies the typed chain id, the fee payer as well as its signature data.

    from message bitcoin.ExtensionOptionsWeb3TxBitcoin

    Hierarchy

    Index

    Constructors

    Properties

    chain: string = ""

    chain should be "Bitcoin"

    from field: string chain = 4;

    feePayer: string = ""

    fee_payer is an account address for the fee payer. It will be validated during EIP712 signature checking.

    from field: string fee_payer = 2;

    feePayerSig: Uint8Array<ArrayBuffer> = ...

    fee_payer_sig is a signature data from the fee paying account, allows to perform fee delegation when using EIP712 Domain.

    from field: bytes fee_payer_sig = 3;

    typedDataChainId: bigint = protoInt64.zero

    typed_data_chain_id is used only in EIP712 Domain and should match Ethereum network ID in a Web3 provider (e.g. Metamask).

    from field: uint64 typed_data_chain_id = 1;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "bitcoin.ExtensionOptionsWeb3TxBitcoin"

    Methods