@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Interface ArkPsbtFieldCoder<T>

    ArkPsbtFieldCoder is the coder for the ark psbt fields. each type has its own coder.

    interface ArkPsbtFieldCoder<T> {
        decode: (value: [StructInput<{}>, Bytes]) => T | null;
        encode: (value: T) => [StructInput<{}>, Bytes];
        key: ArkPsbtFieldKey;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    decode: (value: [StructInput<{}>, Bytes]) => T | null
    encode: (value: T) => [StructInput<{}>, Bytes]