Skip to content

Commit

Permalink
Merge pull request #17 from maticnetwork/AV-16
Browse files Browse the repository at this point in the history
Av-16: Query app data rows RPC
  • Loading branch information
aterentic-ethernal authored Nov 17, 2022
2 parents 72b6b9e + 2846521 commit cb0a715
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/apps-config/src/api/spec/dataavail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,22 @@ const definitions: OverrideBundleDefinition = {
],
type: 'Vec<u8>'
},
queryAppData: {
description: 'Fetches app data rows for the given app',
params: [
{
name: 'app_id',
type: 'AppId'
},
{
name: 'at',
type: 'Hash',
isOptional: true
},
],
type: 'Vec<Option<Vec<u8>>>'
},

queryDataProof: {
description: 'Generate the data proof for the given `index`',
params: [
Expand Down

0 comments on commit cb0a715

Please sign in to comment.