Interface NextActionPostRequest

Response body payload sent via POST request to obtain the next action in a successive chain of actions

NextAction should be returned as the POST response

interface NextActionPostRequest {
    account: string;
    data?: Record<
        | number
        | typeof iterator
        | "length"
        | "blink"
        | "link"
        | "toString"
        | "charAt"
        | "charCodeAt"
        | "concat"
        | "indexOf"
        | "lastIndexOf"
        | "localeCompare"
        | "match"
        | "replace"
        | "search"
        | "slice"
        | "split"
        | "substring"
        | "toLowerCase"
        | "toLocaleLowerCase"
        | "toUpperCase"
        | "toLocaleUpperCase"
        | "trim"
        | "substr"
        | "valueOf"
        | "codePointAt"
        | "includes"
        | "endsWith"
        | "normalize"
        | "repeat"
        | "startsWith"
        | "anchor"
        | "big"
        | "bold"
        | "fixed"
        | "fontcolor"
        | "fontsize"
        | "italics"
        | "small"
        | "strike"
        | "sub"
        | "sup"
        | "padStart"
        | "padEnd"
        | "trimEnd"
        | "trimStart"
        | "trimLeft"
        | "trimRight"
        | "matchAll"
        | "replaceAll"
        | "at"
        | "isWellFormed"
        | "toWellFormed", string | string[]>;
    signature: string;
}

Hierarchy (view full)

Properties

account: string

base58-encoded public key of an account that may sign the transaction

data?: Record<
    | number
    | typeof iterator
    | "length"
    | "blink"
    | "link"
    | "toString"
    | "charAt"
    | "charCodeAt"
    | "concat"
    | "indexOf"
    | "lastIndexOf"
    | "localeCompare"
    | "match"
    | "replace"
    | "search"
    | "slice"
    | "split"
    | "substring"
    | "toLowerCase"
    | "toLocaleLowerCase"
    | "toUpperCase"
    | "toLocaleUpperCase"
    | "trim"
    | "substr"
    | "valueOf"
    | "codePointAt"
    | "includes"
    | "endsWith"
    | "normalize"
    | "repeat"
    | "startsWith"
    | "anchor"
    | "big"
    | "bold"
    | "fixed"
    | "fontcolor"
    | "fontsize"
    | "italics"
    | "small"
    | "strike"
    | "sub"
    | "sup"
    | "padStart"
    | "padEnd"
    | "trimEnd"
    | "trimStart"
    | "trimLeft"
    | "trimRight"
    | "matchAll"
    | "replaceAll"
    | "at"
    | "isWellFormed"
    | "toWellFormed", string | string[]>

Key-value map of parameter values from user's input

  • key - parameter name
  • value - input value (by default type of string, if multi-option, type of Array<string>
signature: string

signature produced from the previous action (either a transaction id or message signature)