Skip to content

Commit

Permalink
TransactionPaymentCallApi runtime definition (#5094)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Jul 21, 2022
1 parent 7a1525d commit 60398d9
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Changes:
- `{BTree|Hash}Map.toHuman()` now display `Raw` keys as ascii (if detected)
- Add `toPrimitive()` to all base `Codec` interfaces (string/boolean/number)
- Adjust metadata conversion with `objectSpread` (where missing)
- Support for `TransactionPaymentCallApi` runtime interface


## 8.13.1 Jul 16, 2022
Expand Down
35 changes: 35 additions & 0 deletions packages/types/src/interfaces/payment/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,40 @@ export const runtime: DefinitionsCall = {
},
version: 1
}
],
TransactionPaymentCallApi: [
{
methods: {
query_call_fee_details: {
description: 'The call fee details',
params: [
{
name: 'call',
type: 'Call'
},
{
name: 'len',
type: 'u32'
}
],
type: 'FeeDetails'
},
query_call_info: {
description: 'The call info',
params: [
{
name: 'call',
type: 'Call'
},
{
name: 'len',
type: 'u32'
}
],
type: 'RuntimeDispatchInfo'
}
},
version: 1
}
]
};

0 comments on commit 60398d9

Please sign in to comment.