vRAM

DAPP Network service extensions

​vRAM - IPFS​

get_vram_row - get vRAM row from DSP’s endpoint
1
/*
2
getClient()
3
* service name: ipfs
4
* contract name
5
​
6
service.get_vram_row - read vRAM table row from DSP's endpoint
7
* code - smart contract account
8
* scope - scope of table
9
* table - name of table
10
* primary key
11
​
12
*/
13
​
14
const service = await (await getClient()).service('ipfs','cardgame1112');
15
const response = await service.get_vram_row( "cardgame1112", "cardgame1112", "users", "nattests" );
Copied!