vRAM

DAPP Network service extensions

get_vram_row - get vRAM row from DSP’s endpoint

/*
    getClient()
    * service name: ipfs
    * contract name

    service.get_vram_row - read vRAM table row from DSP's endpoint
    * code - smart contract account
    * scope - scope of table
    * table - name of table
    * primary key

*/

const service = await (await getClient()).service('ipfs','cardgame1112');
const response = await service.get_vram_row( "cardgame1112", "cardgame1112", "users", "nattests" );

Last updated