eosio-wasm-js
A utility tool that serialises EOSIO based blockchain types to a WASM hex string.
This tool may be useful for those wanting to serialise actions in JS environments for EOSIO based blockchain actions.
Setup
$ npm i eosio-wasm-js
Support
Consider a BigInt polyfill library for safari 13.
API
Object serialize
The core object that contains all the EOSIO based types to serialize.
Examples
Ways to require
.
const serialize = require('eosio-wasm-js')
Ways to import
.
import serialize from 'eosio-wasm-js'
Serialize EOSIO name type.
serialize_name('eosio')
The logged output was 0000000000ea3055
function serialize_actions
Serializes a list of EOSIO actions.
Parameter | Type | Description |
---|
action_list | actions | List of actions to serialize. |
Returns: string — Serialized actions.