interface TransactionContent {
    amount: number;
    data: TransactionContentData;
    from:
        | string
        | PublicKey
        | Buffer<ArrayBufferLike>
        | Uint8Array<ArrayBufferLike>
        | ByteStringBuffer
        | ISignature;
    gcr_edits: GCREdit[];
    nonce: number;
    timestamp: number;
    to:
        | string
        | Buffer<ArrayBufferLike>
        | Uint8Array<ArrayBufferLike>
        | ByteStringBuffer
        | ISignature
        | PrivateKey;
    transaction_fee: TxFee;
    type:
        | "web2Request"
        | "crosschainOperation"
        | "subnet"
        | "native"
        | "demoswork"
        | "genesis"
        | "NODE_ONLINE"
        | "identity"
        | "instantMessaging";
}

Properties

amount: number
from:
    | string
    | PublicKey
    | Buffer<ArrayBufferLike>
    | Uint8Array<ArrayBufferLike>
    | ByteStringBuffer
    | ISignature
gcr_edits: GCREdit[]
nonce: number
timestamp: number
to:
    | string
    | Buffer<ArrayBufferLike>
    | Uint8Array<ArrayBufferLike>
    | ByteStringBuffer
    | ISignature
    | PrivateKey
transaction_fee: TxFee
type:
    | "web2Request"
    | "crosschainOperation"
    | "subnet"
    | "native"
    | "demoswork"
    | "genesis"
    | "NODE_ONLINE"
    | "identity"
    | "instantMessaging"