Newer
Older
type: string
format: unsignedInteger
GenericExtrinsicEra:
type: object
description: |
The return value for era can either be `mortalEra`, or `immortalEra` and is represented as an enum in substrate. `immortalEra` meaning
the transaction is valid forever. `mortalEra` consists of a tuple containing a period and phase.
ex: `"{"mortalEra": ["64", "11"]}"`. The Period is the period of validity from the block hash found in the signing material.
The Phase is the period that this transaction's lifetime begins (and, importantly,
implies which block hash is included in the signature material).
properties:
type: array
description: Tuple of a Phase, and Period. Each item in the array will be a string formatted as an integer.
immortalEra:
type: string
description: Hardcoded constant '0x00'.
format: hex
example: "{\"mortalEra\":[\"64\", \"11\"]}"
NodeNetwork:
type: object
properties:
nodeRoles:
$ref: '#/components/schemas/NodeRole'
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
type: string
description: Number of peers the node is connected to.
format: unsignedInteger
isSyncing:
type: boolean
description: Whether or not the node is syncing. `False` indicates that the node is in sync.
shouldHavePeers:
type: boolean
description: Whether or not the node should be connected to peers. Might be false
for local chains or when running without discovery.
localPeerId:
type: string
description: Local copy of the `PeerId`.
localListenAddresses:
type: array
description: Multiaddresses that the local node is listening on. The addresses
include a trailing `/p2p/` with the local PeerId, and are thus suitable
to be passed to `system_addReservedPeer` or as a bootnode address for
example.
items:
type: string
type: array
items:
$ref: '#/components/schemas/PeerInfo'
NodeRole:
type: string
description: Role of this node. (N.B. Sentry nodes are being deprecated.)
enum:
- Full
- LightClient
- Authority
- Sentry
NodeVersion:
type: object
properties:
description: Node's binary version.
clientImplName:
description: Node's implementation name.
chain:
description: Node's chain name.
description: Version information of the node.
Nominations:
type: object
properties:
type: array
items:
type: string
description: The targets of the nomination.
submittedIn:
type: string
format: unsignedInteger
description: >-
The era the nominations were submitted. (Except for initial
nominations which are considered submitted at era 0.)
suppressed:
type: boolean
description: Whether the nominations have been suppressed.
OnboardingAs:
type: string
enum:
- parachain
- parathread
description: |
This property only shows up when `paraLifecycle=onboarding`. It
describes if a particular para is onboarding as a `parachain` or a
`parathread`.
Operation:
type: object
properties:
phase:
$ref: '#/components/schemas/OperationPhase'
parentSpanId:
$ref: '#/components/schemas/SpanId'
primarySpanId:
$ref: '#/components/schemas/SpanId'
eventIndex:
type: string
format: unsignedInteger
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
description: Index of the underlying trace event.
address:
type: string
description: |
Account this operation affects. Note - this will be an object like
`{ id: address }` if the network uses `MultiAddress`
storage:
type: object
properties:
pallet:
type: string
item:
type: string
field1:
type: string
description: |
A field of the storage item. (i.e `system::Account::get(address).data`)
field2:
type: string
description: |
A field of the struct described by field1 (i.e
`system::Account::get(address).data.free`)
amount:
$ref: '#/components/schemas/OperationAmount'
OperationAmount:
type: object
properties:
type: string
format: unsignedInteger
currency:
$ref: '#/components/schemas/OperationAmountCurrency'
OperationAmountCurrency:
type: object
properties:
symbol:
type: string
example: KSM
OperationPhase:
type: object
properties:
variant:
type: string
enum:
- onInitialize
- initialChecks
- applyExtrinsic
- onFinalize
- finalChecks
description: Phase of block execution pipeline.
extrinsicIndex:
type: string
format: unsignedInteger
description: |
If phase variant is `applyExtrinsic` this will be the index of
the extrinsic. Otherwise this field will not be present.
PalletsAssetsInfo:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
assetInfo:
$ref: '#/components/schemas/AssetInfo'
$ref: '#/components/schemas/AssetMetadata'
PalletStorage:
type: object
properties:
pallet:
description: Name of the pallet.
example: "democracy"
palletIndex:
type: string
description: Index of the pallet for looking up storage.
example: "15"
items:
type: array
items:
$ref: '#/components/schemas/PalletStorageItemMetadata'
description: Array containing metadata for each storage entry of the pallet.
PalletStorageItem:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
pallet:
type: string
description: Name of the pallet.
example: "democracy"
palletIndex:
type: string
description: Index of the pallet for looking up storage.
example: "15"
storageItem:
type: string
description: Name of the storage item.
example: "referendumInfoOf"
keys:
type: array
description: N Storage keys passed in as the `keys` query param.
example: ["0x00", "0x01"]
value:
type: object
description: Value returned by this storage query.
example:
Ongoing:
end: "1612800"
proposalHash: "0x7de70fc8be782076d0b5772be77153d172a5381c72dd56d3385e25f62abf507e"
threshold: "Supermajorityapproval"
delay: "403200"
tally:
ayes: "41925212461400000"
nays: "214535586500000"
turnout: "34485320658000000"
metadata:
$ref: '#/components/schemas/PalletStorageItemMetadata'
PalletStorageItemMetadata:
type: object
properties:
type: string
example: "ReferendumInfoOf"
description: The storage item's name (which is the same as the storage item's ID).
modifier:
type: string
example: "Optional"
type:
$ref: '#/components/schemas/PalletStorageType'
fallback:
type: string
example: "0x00"
docs:
type: string
example: " Information concerning any given referendum.\n\n TWOX-NOTE: SAFE as indexes are not under an attacker’s control."
description: Metadata of a storage item from a FRAME pallet.
PalletStorageType:
type: object
description: If the query parameter 'adjustMetadataV13' is set to true, all historic blocks that are
pre v9110 will have the return type `StorageEntryTypeV13`, and all present and post v9110 blocks will
have a return type of `StorageEntryTypeV14`. Please check those types to see potential responses. This
will be deprecated and removed in the future, and will only live as `StorageEntryTypeV14`.
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
Para:
type: object
properties:
paraId:
type: string
format: unsignedInteger
paraLifecycle:
$ref: '#/components/schemas/ParaLifecycle'
onboardingAs:
$ref: '#/components/schemas/OnboardingAs'
Paras:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
paras:
type: array
items:
$ref: '#/components/schemas/Para'
ParasAuctionsCurrent:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
beginEnd:
type: string
format: unisgnedInteger or $null
description: |
Fist block (number) of the auction ending phase. `null` if there is no ongoing
auction.
finishEnd:
type: string
format: unisgnedInteger or $null
description: |
Last block (number) of the auction ending phase. `null` if there is no ongoing
auction.
phase:
type: string
enum:
Tarik Gul
committed
- startPeriod
- endPeriod
- vrfDelay
Tarik Gul
committed
An auction can be in one of 4 phases. Both `startingPeriod` () and `endingPeriod` indicate
an ongoing auction, while `vrfDelay` lines up with the `AuctionStatus::VrfDelay` . Finally, a value of `null`
indicates there is no ongoing auction. Keep in mind the that the `finishEnd` field is the block number the
`endingPeriod` finishes and the `vrfDelay` period begins. The `vrfDelay` period is typically about an
epoch long and no crowdloan contributions are accepted.
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
auctionIndex:
type: string
format: unsignedInteger
description: |
The auction number. If there is no current auction this will be the number
of the previous auction.
leasePeriods:
type: array
items:
type: string
format: unsignedInteger
description: |
Lease period indexes that may be bid on in this auction. `null` if
there is no ongoing auction.
winning:
type: array
items:
$ref: '#/components/schemas/WinningData'
ParasCrowdloans:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
funds:
type: array
items:
type: object
properties:
paraId:
type: string
format: unsignedInteger
fundInfo:
$ref: '#/components/schemas/FundInfo'
description: |
List of paras that have crowdloans.
ParasCrowdloanInfo:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
fundInfo:
$ref: '#/components/schemas/FundInfo'
leasePeriods:
type: array
items:
type: string
format: unsignedInteger
description: Lease periods the crowdloan can bid on.
ParasLeasesCurrent:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
leasePeriodIndex:
type: string
format: unsignedInteger
description: Current lease period index. This value may be null when the current block now,
substracted by the leaseOffset is less then zero.
endOfLeasePeriod:
type: string
format: unsignedInteger
description: Last block (number) of the current lease period. This value may be null when
`leasePeriodIndex` is null.
currentLeaseHolders:
type: array
items:
type: string
format: unsignedInteger
description: List of `paraId`s that currently hold a lease.
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
ParasLeaseInfo:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
paraLifecycle:
$ref: '#/components/schemas/ParaLifecycle'
onboardingAs:
$ref: '#/components/schemas/OnboardingAs'
leases:
type: array
items:
type: object
properties:
leasePeriodIndex:
type: string
format: unsignedInteger
account:
type: string
deposit:
type: string
format: unsignedInteger
description: |
List of lease periods for which the `paraId` holds a lease along with
the deposit held and the associated `accountId`.
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
ParaLifecycle:
type: string
enum:
- onboarding
- parathread
- parachain
- upgradingParathread
- downgradingParachain
- offboardingParathread
- offboardingParachain
description: |
The possible states of a para, to take into account delayed lifecycle
changes.
Payouts:
type: array
items:
type: object
properties:
validatorId:
type: string
description: AccountId of the validator the payout is coming from.
nominatorStakingPayout:
type: string
format: unsignedInteger
description: Payout for the reward destination associated with the
accountId the query was made for.
claimed:
type: boolean
description: Whether or not the reward has been claimed.
totalValidatorRewardPoints:
type: string
format: unsignedInteger
description: Number of reward points earned by the validator.
validatorCommission:
type: string
format: unsignedInteger
description: The percentage of the total payout that the validator takes as commission,
expressed as a Perbill.
totalValidatorExposure:
type: string
format: unsignedInteger
description: The sum of the validator's and its nominators' stake.
nominatorExposure:
type: string
format: unsignedInteger
description: The amount of stake the nominator has behind the validator.
description: Payout for a nominating _Stash_ address and
information about the validator they were nominating.
PeerInfo:
type: object
properties:
description: Peer ID.
roles:
description: Roles the peer is running
protocolVersion:
description: Peer's protocol version.
format: unsignedInteger
description: Hash of the best block on the peer's canon chain.
description: Height of the best block on the peer's canon chain.
format: unsignedInteger
RuntimeCode:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
code:
type: string
format: hex
type: object
properties:
description: Extrinsic weight.
class:
description: Extrinsic class.
enum:
- Normal
- Operational
- Mandatory
partialFee:
type: string
description: The _inclusion fee_ of a transaction, i.e. the minimum fee required for a transaction. Includes weight and encoded length fees, but does not have access to any signed extensions, e.g. the `tip`.
format: unsignedInteger
kind:
type: string
description: Information on the partialFee that is collected. Can be either `preDispatch`, `postDispatch` or `fromEvent`.
`preDispatch` means the information used to collect the fee was from `payment_queryInfo`, `postDispatch` means
the information used to calculate the fee was from finalized weights for the extrinsic, and `fromEvent` means that the partialFee was
abstracted from the `TransactionPayment::TransactionPaidFee` event.
description: RuntimeDispatchInfo for the transaction. Includes the `partialFee`.
RuntimeSpec:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
description: The version of the authorship interface. An authoring node
will not attempt to author blocks unless this is equal to its native runtime.
chainType:
$ref: '#/components/schemas/ChainType'
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
implVersion:
type: string
description: Version of the implementation specification. Non-consensus-breaking
optimizations are about the only changes that could be made which would
result in only the `impl_version` changing. The `impl_version` is set to 0
when `spec_version` is incremented.
specName:
type: string
description: Identifies the different Substrate runtimes.
specVersion:
type: string
description: Version of the runtime specification.
transactionVersion:
type: string
description: All existing dispatches are fully compatible when this number
doesn't change. This number must change when an existing dispatchable
(module ID, dispatch ID) is changed, either through an alteration in its
user-level semantics, a parameter added/removed/changed, a dispatchable
being removed, a module being removed, or a dispatchable/module changing
its index.
properties:
type: object
description: Arbitrary properties defined in the chain spec.
description: Version information related to the runtime.
SanitizedEvent:
type: object
properties:
method:
type: string
data:
type: array
items:
type: string
Signature:
type: object
properties:
signature:
format: ss58
description: Object with `signature` and `signer`, or `null` if unsigned.
SpanId:
type: object
properties:
name:
type: string
target:
type: string
id:
type: string
format: unsignedInteger
type: object
properties:
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
description: The _Stash_ account whose balance is actually locked and at stake.
format: ss58
total:
type: string
description: The total amount of the _Stash_'s balance that we are currently accounting
for. Simply `active + unlocking`.
format: unsignedInteger
active:
type: string
description: The total amount of the _Stash_'s balance that will be at stake
in any forthcoming eras.
format: unsignedInteger
unlocking:
type: string
description: Any balance that is becoming free, which may eventually be
transferred out of the _Stash_ (assuming it doesn't get slashed first).
Represented as an array of objects, each with an `era` at which `value`
will be unlocked.
format: unsignedInteger
claimedRewards:
type: array
description: Array of eras for which the stakers behind a validator have
claimed rewards. Only updated for _validators._
items:
type: string
format: unsignedInteger
description: The staking ledger.
StakingProgress:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
activeEra:
description: |
`EraIndex` of the era being rewarded.
format: unsignedInteger
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
forceEra:
type: string
description: Current status of era forcing.
enum:
- ForceNone
- NotForcing
- ForceAlways
- ForceNew
nextActiveEraEstimate:
type: string
description: Upper bound estimate of the block height at which the next
active era will start. Not included in response when `forceEra.isForceNone`.
format: unsignedInteger
nextSessionEstimate:
type: string
description: Upper bound estimate of the block height at which the next
session will start.
format: unsignedInteger
unappliedSlashes:
type: array
items:
$ref: '#/components/schemas/UnappliedSlash'
description: Array of upcoming `UnappliedSlash` indexed by era.
electionStatus:
$ref: '#/components/schemas/ElectionStatus'
idealValidatorCount:
type: string
description: Upper bound of validator set size; considered the ideal size.
Not included in response when `forceEra.isForceNone`.
format: unsignedInteger
validatorSet:
type: array
description: Stash account IDs of the validators for the current session.
Not included in response when `forceEra.isForceNone`.
items:
type: string
format: ss58
StorageEntryTypeV13:
type: object
description: Returns a string deonting the storage hasher.
key:
type: string
description: Key of the queried pallet storageId.
value:
type: string
description: Value of the queried pallet storageId.
linked:
type: boolean
StorageEntryTypeV14:
type: object
hasher:
type: array
items:
type: string
description: Returns a string denoting the storage
key:
type: string
description: The SiLookupTypeId to identify the type.
value:
type: string
description: The SiLookupTypeId to identify the type.
type: object
properties:
data:
type: object
properties:
stringValues:
$ref: '#/components/schemas/TraceEventDataStringValues'
parentId:
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
format: unsignedInteger
target:
type: string
TraceEventDataStringValues:
type: object
properties:
key:
type: string
format: hex
description: The complete storage key for the entry.
method:
type: string
description: Normally one of Put or Get.
result:
type: string
format: hex
description: Hex scale encoded storage value.
description: Note these exact values will only be present for storage events.
TraceSpan:
type: object
properties:
id:
type: string
format: unsignedInteger
name:
type: string
parentId:
type: string
format: unsignedInteger
target:
type: string
wasm:
type: boolean
Transaction:
type: object
properties:
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
tx:
type: string
format: hex
TransactionDryRun:
type: object
properties:
resultType:
type: string
enum:
- DispatchOutcome
- TransactionValidityError
description: Either `DispatchOutcome` if the transaction is valid or `TransactionValidityError` if the result is invalid.
result:
type: string
enum:
- Ok
- CannotLookup
- NoUnsignedValidator
- Custom(u8)
- Call
- Payment
- Future
- Stale
- BadProof
- AncientBirthBlock
- ExhaustsResources
- BadMandatory
- MandatoryDispatch
description: 'If there was an error it will be the cause of the error. If the
transaction executed correctly it will be `Ok: []`'
validityErrorType:
type: string
enum:
- InvalidTransaction
- UnknownTransaction
description: >-
References:
- `UnknownTransaction`: https://crates.parity.io/sp_runtime/transaction_validity/enum.UnknownTransaction.html
- `InvalidTransaction`: https://crates.parity.io/sp_runtime/transaction_validity/enum.InvalidTransaction.html
TransactionFailedToParse:
type: object
properties:
code:
type: number
error:
type: string
description: >-
`Failed to parse a tx.`
transaction:
type: string
format: hex
cause:
type: string
stack:
type: string
description: Error message when Sidecar fails to parse the transaction.
TransactionFailedToSubmit:
type: object
properties:
code:
type: number
error:
type: string
description: Failed to submit transaction.
transaction:
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
format: hex
cause:
type: string
stack:
type: string
description: >-
Error message when the node rejects the submitted transaction.
TransactionFailure:
oneOf:
- $ref: '#/components/schemas/TransactionFailedToSubmit'
- $ref: '#/components/schemas/TransactionFailedToParse'
TransactionFeeEstimate:
type: object
properties:
weight:
type: string
description: Extrinsic weight.
class:
type: string
description: Extrinsic class.
enum:
- Normal
- Operational
- Mandatory
partialFee:
type: string
description: Expected inclusion fee for the transaction. Note that the fee
rate changes up to 30% in a 24 hour period and this will not be the exact
fee.
format: unsignedInteger
description: >-
Note: `partialFee` does not include any tips that you may add to increase a transaction's
priority. See [compute_fee](https://crates.parity.io/pallet_transaction_payment/struct.Module.html#method.compute_fee).
TransactionFeeEstimateFailure:
type: object
properties:
code:
type: number
at:
type: object
properties:
hash:
type: string
error:
description: Error description.
transaction:
type: string
format: hex
block:
type: string
description: Block hash of the block fee estimation was attempted at.
cause:
type: string
description: Error message from the client.
stack:
type: string
TransactionMaterial:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
genesisHash:
type: string
description: The hash of the chain's genesis block.
format: blockHash
chainName:
type: string
description: The chain's name.
specName:
type: string
description: The chain's spec.
specVersion:
type: string
description: The spec version. Always increased in a runtime upgrade.
txVersion:
type: string
description: The transaction version. Common `txVersion` numbers indicate
that the transaction encoding format and method indices are the same.
Needed for decoding in an offline environment. Adding new transactions
does not change `txVersion`.
metadata:
type: string
description: The chain's metadata. It's default return value is hex, but may be returned in
format: hex
description: >-
Note: `chainName`, `specName`, and `specVersion` are used to define a type registry with a set
of signed extensions and types. For Polkadot and Kusama, `chainName` is not used in defining
this registry, but in other Substrate-based chains that re-launch their network without
changing the `specName`, the `chainName` would be needed to create the correct registry.
Substrate Reference:
- `RuntimeVersion`: https://crates.parity.io/sp_version/struct.RuntimeVersion.html
- `SignedExtension`: https://crates.parity.io/sp_runtime/traits/trait.SignedExtension.html
- FRAME Support: https://crates.parity.io/frame_support/metadata/index.html
TransactionPool:
type: object
properties:
pool:
type: array
items:
type: object
properties:
hash:
type: string
format: hex
description: H256 hash of the extrinsic.
encodedExtrinsic:
type: string
format: hex
description: Scale encoded extrinsic.
tip:
type: string
format: unsignedInteger
description: The tip included in the extrinsic. Only included if the query param `includeFee` is set to true.
priority:
type: string
format: unsignedInteger
description: Computed priority of an extrinsic. Only included if the query param `includeFee` is set to true.
partialFee:
type: string
format: unsignedInteger
description: Provided `partialFee` of an extrinsic. Only included if the query param `includeFee` is set to true.
type: object
properties:
type: string
description: The hash of the encoded transaction.
UnappliedSlash:
type: object
properties:
validator:
type: string
description: Stash account ID of the offending validator.
format: ss58
own:
type: string
description: The amount the validator will be slashed.
format: unsignedInteger
others:
type: array
description: Array of tuples(`[accountId, amount]`) representing all the
stashes of other slashed stakers and the amount they will be slashed.
items:
type: string
format: tuple[ss58, unsignedInteger]
reporters:
type: array
description: Array of account IDs of the reporters of the offense.
items:
type: string
format: ss58
payout:
type: string
description: Amount of bounty payout to reporters.
format: unsignedInteger
VestingSchedule:
type: object
properties:
locked:
type: string
description: Number of tokens locked at start.
format: unsignedInteger
perBlock:
type: string
description: Number of tokens that gets unlocked every block after `startingBlock`.
format: unsignedInteger
startingBlock:
type: string
description: Starting block for unlocking (vesting).
format: unsignedInteger
description: Vesting schedule for an account.
WinningData:
type: object
properties:
bid:
type: object
properties:
accountId:
type: string
paraId:
type: string
format: unsignedInteger
amount:
type: string
format: unsignedInteger
leaseSet:
type: array
items:
type: string
format: unsignedInteger
description: |
A currently winning bid and the set of lease periods the bid is for. The
`amount` of the bid is per lease period. The `bid` property will be `null`
if no bid has been made for the corresponding `leaseSet`.
requestBodies:
Transaction:
content:
application/json:
schema:
$ref: '#/components/schemas/Transaction'
required: true