Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/sdk-ts
IndexerGrpcTransactionApi
Class IndexerGrpcTransactionApi
Hierarchy
IndexerGrpcTransactionApi
Index
Constructors
constructor
Properties
client
module
Methods
broadcast
Cosmos
Tx
Request
broadcast
Tx
Request
fetch
Fee
Payer
prepare
Cosmos
Tx
Request
prepare
Exchange
Tx
Request
prepare
Tx
Request
Constructors
constructor
new
Indexer
Grpc
Transaction
Api
(
endpoint
:
string
)
:
IndexerGrpcTransactionApi
Parameters
endpoint:
string
Returns
IndexerGrpcTransactionApi
Properties
Protected
client
client
:
InjectiveExchangeRPCClientImpl
Protected
module
module
:
string
= IndexerModule.Transaction
Methods
broadcast
Cosmos
Tx
Request
broadcast
Cosmos
Tx
Request
(
__namedParameters
:
{
address
:
string
;
pubKey
:
{
type
:
string
;
value
:
string
}
;
signature
:
string
;
txRaw
:
TxRaw
}
)
:
internal
.
Promise
<
internal
.
BroadcastCosmosTxResponse
>
Parameters
__namedParameters:
{
address
:
string
;
pubKey
:
{
type
:
string
;
value
:
string
}
;
signature
:
string
;
txRaw
:
TxRaw
}
address
:
string
pub
Key
:
{
type
:
string
;
value
:
string
}
type
:
string
value
:
string
signature
:
string
tx
Raw
:
TxRaw
Returns
internal
.
Promise
<
internal
.
BroadcastCosmosTxResponse
>
broadcast
Tx
Request
broadcast
Tx
Request
(
__namedParameters
:
{
chainId
:
EthereumChainId
;
message
:
Record
<
string
,
any
>
;
signature
:
string
;
txResponse
:
internal
.
PrepareTxResponse
;
useCorrectEIP712Hash
?:
boolean
}
)
:
internal
.
Promise
<
internal
.
BroadcastTxResponse
>
Parameters
__namedParameters:
{
chainId
:
EthereumChainId
;
message
:
Record
<
string
,
any
>
;
signature
:
string
;
txResponse
:
internal
.
PrepareTxResponse
;
useCorrectEIP712Hash
?:
boolean
}
chain
Id
:
EthereumChainId
message
:
Record
<
string
,
any
>
signature
:
string
tx
Response
:
internal
.
PrepareTxResponse
Optional
use
CorrectEIP712
Hash
?:
boolean
Returns
internal
.
Promise
<
internal
.
BroadcastTxResponse
>
fetch
Fee
Payer
fetch
Fee
Payer
(
)
:
internal
.
Promise
<
internal
.
GetFeePayerResponse
>
Returns
internal
.
Promise
<
internal
.
GetFeePayerResponse
>
prepare
Cosmos
Tx
Request
prepare
Cosmos
Tx
Request
(
__namedParameters
:
{
address
:
string
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
)
:
internal
.
Promise
<
internal
.
PrepareCosmosTxResponse
>
Parameters
__namedParameters:
{
address
:
string
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
address
:
string
Optional
estimate
Gas
?:
boolean
Optional
fee
Denom
?:
string
Optional
fee
Price
?:
string
Optional
gas
Limit
?:
number
Optional
memo
?:
string
|
number
message
:
any
Optional
timeout
Height
?:
number
Returns
internal
.
Promise
<
internal
.
PrepareCosmosTxResponse
>
prepare
Exchange
Tx
Request
prepare
Exchange
Tx
Request
(
__namedParameters
:
{
address
:
string
;
chainId
:
EthereumChainId
;
delegatedFee
?:
boolean
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
)
:
internal
.
Promise
<
internal
.
PrepareTxResponse
>
Parameters
__namedParameters:
{
address
:
string
;
chainId
:
EthereumChainId
;
delegatedFee
?:
boolean
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
address
:
string
chain
Id
:
EthereumChainId
Optional
delegated
Fee
?:
boolean
Optional
estimate
Gas
?:
boolean
Optional
fee
Denom
?:
string
Optional
fee
Price
?:
string
Optional
gas
Limit
?:
number
Optional
memo
?:
string
|
number
message
:
any
Optional
timeout
Height
?:
number
Returns
internal
.
Promise
<
internal
.
PrepareTxResponse
>
prepare
Tx
Request
prepare
Tx
Request
(
__namedParameters
:
{
address
:
string
;
chainId
:
EthereumChainId
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
)
:
internal
.
Promise
<
internal
.
PrepareTxResponse
>
Parameters
__namedParameters:
{
address
:
string
;
chainId
:
EthereumChainId
;
estimateGas
?:
boolean
;
feeDenom
?:
string
;
feePrice
?:
string
;
gasLimit
?:
number
;
memo
?:
string
|
number
;
message
:
any
;
timeoutHeight
?:
number
}
address
:
string
chain
Id
:
EthereumChainId
Optional
estimate
Gas
?:
boolean
Optional
fee
Denom
?:
string
Optional
fee
Price
?:
string
Optional
gas
Limit
?:
number
Optional
memo
?:
string
|
number
message
:
any
Optional
timeout
Height
?:
number
Returns
internal
.
Promise
<
internal
.
PrepareTxResponse
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Indexer
Grpc
Transaction
Api
constructor
client
module
broadcast
Cosmos
Tx
Request
broadcast
Tx
Request
fetch
Fee
Payer
prepare
Cosmos
Tx
Request
prepare
Exchange
Tx
Request
prepare
Tx
Request
Generated using
TypeDoc