Information about a single named Borsh function parameter.

interface AbiBorshParameter {
    name: string;
    type_schema: { [k: string]: unknown };
}

Properties

Properties

name: string

Parameter name (e.g. p1 in fn foo(p1: u32) {}).

type_schema: { [k: string]: unknown }

Inline Borsh schema that represents this type.