DAPP Services

get_package_infoarrow-up-right - returns package info

/*
    
    dappNetwork.get_package_info
    * account name
    * service name - service names are listed under the services section of the docs as the Contract name

*/

const response = await (await getClient()).dappNetwork.get_package_info( "cardgame1112", "accountless1" );
console.log(response);
// {
//     api: 'https://kylin-dsp-2.liquidapps.io',
//     package_json_uri: 'https://kylin-dsp-2.liquidapps.io/liquidaccts2.dsp-package.json',
//     package_id: 'liquidaccts2',
//     service: 'accountless1',
//     provider: 'heliosselene',
//     quota: '10.0000 QUOTA',
//     package_period: 60,
//     min_stake_quantity: '10.0000 DAPP',
//     min_unstake_period: 3600,
//     enabled: 0
// }

get_table_accountextarrow-up-right - returns entire accountext table

get_table_accountext_by_account_servicearrow-up-right - returns entire accountext by account and service specified

get_table_accountext_by_account_service_providerarrow-up-right - returns entire accountext by account, service, and provider specified

get_table_packagearrow-up-right - returns entire package table

get_table_package_by_package_service_providerarrow-up-right - returns packages by package, service, and DSP name

get_table_packagextarrow-up-right - returns a packages selected inflation rate and quota cost for actions

get_table_packagext_by_package_service_providerarrow-up-right - returns DSP packagext entries that match the package and dsp service provided

get_table_refundsarrow-up-right - returns refund table details for account name specified

get_table_stakingarrow-up-right - returns staking table details for account name specified

Last updated

Was this helpful?