@getalby/sdk
    Preparing search index...

    Type Alias Nip47Transaction

    type Nip47Transaction = {
        amount: number;
        created_at: number;
        description: string;
        description_hash: string;
        expires_at: number;
        fees_paid: number;
        invoice: string;
        metadata?: Nip47TransactionMetadata;
        payment_hash: string;
        preimage: string;
        settled_at: number;
        state: "settled" | "pending" | "failed";
        type: "incoming" | "outgoing";
    }
    Index

    Properties

    amount: number
    created_at: number
    description: string
    description_hash: string
    expires_at: number
    fees_paid: number
    invoice: string
    payment_hash: string
    preimage: string
    settled_at: number
    state: "settled" | "pending" | "failed"

    NOTE: non-NIP-47 spec compliant

    type: "incoming" | "outgoing"