Interface InjectiveExchangeRPC
Methods
BroadcastCosmosTx
Parameters
request: { pubKey?: { type?: string | undefined; key?: string | undefined; }; senderAddress?: string; signature?: string; tx?: internal.Uint8Array }
Optional pubKey?: { type?: string | undefined; key?: string | undefined; }
Optional senderAddress?: string
Optional signature?: string
BroadcastTx
Parameters
request: { chainId?: string; feePayer?: string; feePayerSig?: string; mode?: string; msgs?: internal.Uint8Array[]; pubKey?: { type?: string | undefined; key?: string | undefined; }; signature?: string; tx?: internal.Uint8Array }
Optional chainId?: string
Optional feePayer?: string
Optional feePayerSig?: string
Optional mode?: string
Optional pubKey?: { type?: string | undefined; key?: string | undefined; }
Optional signature?: string
GetFeePayer
Parameters
GetTx
Parameters
request: { hash?: string }
PrepareCosmosTx
Parameters
request: { chainId?: string; fee?: { price?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gas?: string | undefined; delegateFee?: boolean | undefined; }; memo?: string; msgs?: internal.Uint8Array[]; senderAddress?: string; timeoutHeight?: string }
Optional chainId?: string
Optional fee?: { price?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gas?: string | undefined; delegateFee?: boolean | undefined; }
Optional memo?: string
Optional senderAddress?: string
Optional timeoutHeight?: string
PrepareTx
- PrepareTx(request: { chainId?: string; fee?: { price?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gas?: string | undefined; delegateFee?: boolean | undefined; }; memo?: string; msgs?: internal.Uint8Array[]; sequence?: string; signerAddress?: string; timeoutHeight?: string }, metadata?: BrowserHeaders): internal.Promise<internal.PrepareTxResponse>
Parameters
request: { chainId?: string; fee?: { price?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gas?: string | undefined; delegateFee?: boolean | undefined; }; memo?: string; msgs?: internal.Uint8Array[]; sequence?: string; signerAddress?: string; timeoutHeight?: string }
Optional chainId?: string
Optional fee?: { price?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gas?: string | undefined; delegateFee?: boolean | undefined; }
Optional memo?: string
Optional sequence?: string
Optional signerAddress?: string
Optional timeoutHeight?: string
InjectiveExchangeRPC defines gRPC API of an Injective Exchange service.