Interface ActionPostResponseWithSerializedTransaction

POST response payload that contains the base-64 encoded serialized transaction ready to be sent to the client

interface ActionPostResponseWithSerializedTransaction {
    links?: {
        next: NextActionLink;
    } | {
        next: PostNextActionLink;
    };
    message?: string;
    transaction: Transaction;
    type:
        | "transaction"
        | "message"
        | "post"
        | "external-link";
}

Hierarchy

Properties

links?: {
    next: NextActionLink;
} | {
    next: PostNextActionLink;
}

links.next is required for sign message to validate the signature created

message?: string
transaction: Transaction

serialized Solana transaction

type:
    | "transaction"
    | "message"
    | "post"
    | "external-link"