Preparing search index...
The search index is not available
sdk-v2
sdk-v2
@zeitgeistpm/sdk
mainnetRpc
Function mainnetRpc
mainnet
Rpc
<
MS
>
(
)
:
RpcConfig
<
MS
>
Connect to the mainnet rpc only
Returns
KnownPreset
Type Parameters
MS
extends
MetadataStorage
<
any
,
MS
>
Returns
RpcConfig
<
MS
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
sdk-
v2
@zeitgeistpm/indexer
@zeitgeistpm/rpc
@zeitgeistpm/sdk
@zeitgeistpm/utility
aeither
array
assert
async
btreemap
codec
either
error
function
infinity
null
object
observable
option
pfunc
task
taskeither
time
ztg
@zeitgeistpm/web3.storage
IPFS
Local
Storage
Memory
Known
Presets
Supported
Parachain
Metadata
Storage
Asset
Id
Asset
Price
At
Block
Augmented
Rpc
Market
List
Authorized
Report
Base
Config
Big
Number
Block
Number
Categorical
Asset
Id
Categorical
Index
Category
Metadata
Config
Context
Create
Market
Base
Params
Create
Market
Data
Create
Market
Params
Create
Market
Result
Create
Market
Transaction
Create
Market
With
Pool
Params
Create
Standalone
Market
Params
Data
Destroyed
Disputed
Dynamic
Stage
Exchange
Full
Set
Params
Full
Config
Full
Context
Full
Market
List
Grace
Period
Indexed
Base
Indexed
Data
Indexed
Market
Indexed
Pool
Indexer
Config
Indexer
Context
Infinite
Stage
Known
Preset
Market
Market
Deadlines
Market
Id
Market
Id
Type
Of
Market
List
Market
Metadata
Market
Methods
Market
Outcome
Asset
Id
Market
Stage
Market
Status
Market
Type
Of
Markets
Markets
Indexer
Query
Markets
List
Query
Markets
Rpc
Query
Model
Open
Reporting
Period
Oracle
Reporting
Period
Pool
Pool
Asset
Prices
At
Block
Pool
Deployment
Params
Pool
Exit
Params
Pool
Exit
Subsidy
Params
Pool
Exit
With
Exact
Asset
Amount
Params
Pool
Exit
With
Exact
Pool
Amount
Params
Pool
Get
By
Id
Query
Pool
Get
By
Market
Id
Query
Pool
Get
Query
Pool
Join
Params
Pool
Join
With
Exact
Amount
Params
Pool
Join
With
Exact
Pool
Amount
Pool
List
Pool
Methods
Pool
Prices
Pool
Prices
Query
Pool
Prices
Stream
Query
Pool
Rpc
Only
Methods
Pool
Share
Asset
Id
Pools
Indexer
Query
Pools
List
Query
Proposed
Reported
Resolved
Rpc
Config
Rpc
Context
Rpc
Market
Rpc
Pool
Saturated
Pool
Entry
Saturated
Pool
Entry
Asset
Saturated
Pool
Index
Saturated
Rpc
Market
Scalar
Asset
Id
Scalar
Index
Scalar
Position
Scalar
Range
Type
Sdk
Slippage
Type
Storage
Id
Type
Of
Storage
Type
Of
Swap
Exact
Amount
In
Params
Swap
Exact
Amount
Out
Params
Swaps
TaggedID
Tagged
Metadata
Time
Trading
Ztg
Asset
Id
BASE
IOAsset
Id
IOBlock
Number
IOCategorical
Asset
Id
IOCategorical
Index
IOMarket
Category
Metadata
IOMarket
Id
IOMarket
Metadata
IOMarket
Outcome
Asset
Id
IOPool
Share
Asset
Id
IOScalar
Asset
Id
IOScalar
Index
IOScalar
Position
IOZtg
Asset
Id
MAX_
TOTAL_
OUTCOMES_
WEIGHT
MAX_
TOTAL_
WEIGHT
ZTG
indexers
rpcs
Zeitgeist
Ipfs
as
Indexer
Config
as
Rpc
Config
attach
Market
Methods
attach
Pool
Methods
attach
Pool
Rcp
Only
Methods
batterystation
batterystation
Indexer
batterystation
Rpc
calc
In
Given
Out
calc
Out
Given
In
calc
Scalar
Resolved
Prices
calc
Scalar
Winnings
calc
Spot
Price
create
create$
create
Full
Context
create
Indexer
Context
create
Rpc
Context
create
Storage
even
Weights
from
Entries
from
Primitive
get
Asset
Balance
get
Asset
Ids
get
Asset
Weight
get
Deadlines
get
Index
Of
get
Market
Id
Of
get
Pool
Id
get
Prediction
get
Reported
At
get
Reporter
get
Scalar
Bounds
get
Scalar
Index
Of
get
Status
get
Swap
Fee
get
Total
Issuance
has
Market
Methods
has
Pool
has
Report
is
Block
Number
is
Full
Config
is
Full
Context
is
Full
Sdk
is
Indexed
Data
is
Indexed
Sdk
is
Indexer
Config
is
Indexer
Context
is
Infinite
is
Known
Preset
is
Market
Id
is
Market
Id
Query
is
Pool
Id
Query
is
Rpc
Config
is
Rpc
Context
is
Rpc
Data
is
Rpc
Sdk
is
With
Pool
localhost
Rpc
mainnet
mainnet
Indexer
mainnet
Rpc
parse
Asset
Id
project
End
Timestamp
rpc
Market
rpc
Pool
saturate
sdk
slippage
From
Float
swap
Fee
From
Float
tagged
teardown
timespan
Of
weights
From
Relative
Ratio
Generated using
TypeDoc
Connect to the mainnet rpc only
Returns
KnownPreset