Skip to content

Commit 68e7444

Browse files
Add missing runtime API to schema (#1841)
* Add missing runtime API * Fix return type
1 parent 4155dfc commit 68e7444

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

polymesh_schema.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,26 @@
12491249
}
12501250
],
12511251
"type": "Vec<DispatchError>"
1252+
},
1253+
"instruction_asset_count": {
1254+
"description": "Returns the AssetCount for the given instruction.",
1255+
"params": [
1256+
{
1257+
"name": "instruction_id",
1258+
"type": "InstructionId"
1259+
}
1260+
],
1261+
"type": "AssetCount"
1262+
},
1263+
"lock_instruction_weight": {
1264+
"description": "Returns the weight for executing lock_instruction.",
1265+
"params": [
1266+
{
1267+
"name": "instruction_id",
1268+
"type": "InstructionId"
1269+
}
1270+
],
1271+
"type": "Result<Weight, DispatchError>"
12521272
}
12531273
},
12541274
"version": 2

0 commit comments

Comments
 (0)