Utxo

type Utxo = {
    txId: string;
    outputIndex: number;
    satoshis: number;
    address: string;
};

TxOptions

type TxOptions = {
    onlyEstimateFee?: boolean;
    noBroadcast?: boolean;
    dumpTx?: boolean;
};

BsvReceiver

type BsvReceiver = {
    address: string;
    amount: number;
};

TokenReceiver

type TokenReceiver = {
    address: string;
    amount: string;
};

Token

type Token = {
    codehash: string;
    genesis: string;
    sensibleId?: string;
};

TokenBalance

type TokenBalance = {
    confirmAmount: string;
    pendingAmount: string;
    amount: string;
    decimal:number;
    uiAmount:string;
    utxoCount:number;
};

NFT

type NFT = {
    codehash: string;
    genesis: string;
    sensibleId?: string;
    tokenIndex?: string;
};

NftMetaData

type NftMetaData = {
    name?: string;
    description?: string;
    image?: string;
    tokenUri?: string;
}

InputInfo

type InputInfo = {
    inputIndex: number;
    scriptHex: string;
    satoshis: number;
    sighashType: number;
    address?: number | string;
};

SigResult

type SigResult = {
    sig: string;
    publicKey: string ;
};