Type alias CodeReq

CodeReq: {
    code: string;
} | {
    gzippedCode: Uint8Array;
}

Code to upload to State Backed.

Either a string of JavaScript code or a gzipped Uint8Array of JavaScript code.

Type declaration

  • code: string

Type declaration

  • gzippedCode: Uint8Array

Generated using TypeDoc