queryTreasuryProposal method

Future<Map?> queryTreasuryProposal(
  1. String id
)

Implementation

Future<Map?> queryTreasuryProposal(String id) async {
  final dynamic data = await serviceRoot.webView!
      .evalJavascript('api.query.treasury.proposals($id)');
  return data;
}