FUZD / fuzd-chain-protocol / index / ExecutorChainProtocol
Interface: ExecutorChainProtocol<TransactionDataType>
Type Parameters
• TransactionDataType
Methods
broadcastSignedTransaction()
broadcastSignedTransaction(
tx
):Promise
<String0x
>
Parameters
tx
any
Returns
Promise
<String0x
>
Defined in
index.ts:79
checkValidity()
checkValidity(
chainId
,data
,broadcaster
,transactionParameters
):Promise
<TransactionValidity
>
Parameters
chainId
data
TransactionDataType
broadcaster
transactionParameters
Returns
Promise
<TransactionValidity
>
Defined in
index.ts:95
generatePaymentTransaction()
generatePaymentTransaction(
transaction
,maxFeePerGas
,from
,diffToCover
):object
Parameters
transaction
TransactionDataType
maxFeePerGas
bigint
from
diffToCover
bigint
Returns
object
cost
cost:
bigint
transaction
transaction:
TransactionDataType
Defined in
index.ts:113
getBalance()
getBalance(
account
):Promise
<bigint
>
Parameters
account
Returns
Promise
<bigint
>
Defined in
index.ts:78
getBroadcaster()
getBroadcaster(
parameters
,forAddress
):Promise
<BroadcasterSignerData
>
Parameters
parameters
forAddress
Returns
Promise
<BroadcasterSignerData
>
Defined in
index.ts:93
getCurrentDerivationParameters()
getCurrentDerivationParameters():
Promise
<DerivationParameters
>
Returns
Promise
<DerivationParameters
>
Defined in
index.ts:92
getGasFee()
getGasFee(
executionData
):Promise
<GasEstimate
>
Parameters
executionData
maxFeePerGasAuthorized
Returns
Promise
<GasEstimate
>
Defined in
index.ts:81
getNonce()
getNonce(
account
):Promise
<String0x
>
Parameters
account
Returns
Promise
<String0x
>
Defined in
index.ts:80
getTransactionStatus()
getTransactionStatus(
transaction
):Promise
<TransactionStatus
>
Parameters
transaction
Returns
Promise
<TransactionStatus
>
Defined in
index.ts:76
isTransactionPending()
isTransactionPending(
txHash
):Promise
<boolean
>
Parameters
txHash
Returns
Promise
<boolean
>
Defined in
index.ts:77
requiredPreliminaryTransaction()?
optional
requiredPreliminaryTransaction(chainId
,broadcaster
,account
):TransactionDataType
Parameters
chainId
string
broadcaster
account
Returns
TransactionDataType
Defined in
index.ts:83
signTransaction()
signTransaction(
chainId
,data
,broadcaster
,transactionParameters
):Promise
<SignedTransactionInfo
>
Parameters
chainId
data
TransactionDataType
broadcaster
transactionParameters
Returns
Promise
<SignedTransactionInfo
>
Defined in
index.ts:101
signVoidTransaction()?
optional
signVoidTransaction(chainId
,broadcaster
,transactionParameters
):Promise
<SignedTransactionInfo
>
Parameters
chainId
broadcaster
transactionParameters
Returns
Promise
<SignedTransactionInfo
>
Defined in
index.ts:107
validateDerivationParameters()
validateDerivationParameters(
parameters
):Promise
<{success
:true
; } | {error
:string
;success
:false
; }>
Parameters
parameters
Returns
Promise
<{ success
: true
; } | { error
: string
; success
: false
; }>
Defined in
index.ts:89