Jun Jiang cad2b0fefe Update contract' gas to Weight type (#5324)
* Update contract' gas to Weight type

* Make Contracts Runtime Calls support WeightV2

* fix gasConsumed & gasConsumed type

* Regenerate contracts types

* Correct ContractCallOutcome

* `gasLimit` are optional

* Apply suggestion

* Add ContractCallRequestV1 and specify old rpc use that

* Add back getGas

* Port jg-ContractsApi-v2 (#5330)

* Run yarn build:metadata

* There is no 'ContractCallRequestV1', only 'ContractCallRequest'

* api.tx.contracts.call.meta no version field, _isOldWeight still work?
2022-11-13 08:30:33 +02:00
2022-08-26 17:58:23 +03:00
2022-03-10 09:57:55 +02:00
2020-10-23 10:16:21 +02:00
2022-09-04 13:08:48 +03:00
2017-11-18 08:38:18 +01:00
2022-07-12 08:07:41 +03:00
2022-01-13 10:07:16 +02:00
2017-11-28 18:03:48 +01:00
2021-04-26 19:24:44 +03:00
2021-06-08 18:05:18 +03:00
2022-01-01 18:33:31 +02:00
2022-03-10 09:57:55 +02:00
2022-01-01 18:33:31 +02:00
2022-11-12 14:09:50 +00:00
2022-08-12 12:27:01 +03:00
2022-04-27 09:56:13 +03:00
2018-11-21 13:37:27 +01:00
2022-11-12 14:09:50 +00:00
2022-03-24 20:09:16 +02:00
2022-01-11 08:51:54 +02:00
2019-12-04 12:27:02 +01:00
2022-11-12 14:09:50 +00:00

polkadotjs license npm beta maintainability coverage

@polkadot/api

This library provides a clean wrapper around all the methods exposed by a Polkadot/Substrate network client and defines all the types exposed by a node. For complete documentation around the classes, interfaces and their use, visit the documentation portal.

If you are an existing user, please be sure to track the CHANGELOG and UPGRADING guides when changing versions.

tutorials

Looking for tutorials to get started? Look at examples for guides on how to use the API to make queries and submit transactions.

S
Description
Fork of polkadot-js/api. Held for the @polkadot/types side of Quantus support — ExtrinsicSignature is MultiSignature (64/65 bytes) upstream, where Quantus needs a 5261/7219-byte DilithiumSignatureScheme. May turn out to need no patch at all if registry type overrides suffice; see quantus/api#1.
Readme
142 MiB
Languages
TypeScript 99.9%