Skip to content
docs

argsBytes

argsBytes(args): Uint8Array

Defined in: wallet-near/src/borsh.ts:139

Function-call args as bytes: raw bytes pass through; plain objects / strings become UTF-8 JSON / UTF-8. Anything else throws.

string | Uint8Array<ArrayBufferLike> | Record<string, unknown>

Uint8Array