We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd030b commit ee5f3efCopy full SHA for ee5f3ef
eth/catalyst/api.go
@@ -79,6 +79,17 @@ const (
79
beaconUpdateWarnFrequency = 5 * time.Minute
80
)
81
82
+// All methods provided over the engine endpoint.
83
+var caps = []string{
84
+ "engine_forkchoiceUpdatedV1",
85
+ "engine_forkchoiceUpdatedV2",
86
+ "engine_exchangeTransitionConfigurationV1",
87
+ "engine_getPayloadV1",
88
+ "engine_getPayloadV2",
89
+ "engine_newPayloadV1",
90
+ "engine_newPayloadV2",
91
+}
92
+
93
type ConsensusAPI struct {
94
eth *eth.Ethereum
95
@@ -732,3 +743,8 @@ func (api *ConsensusAPI) heartbeat() {
732
743
}
733
744
734
745
746
747
+// ExchangeCapabilities returns the current methods provided by this node.
748
+func (api *ConsensusAPI) ExchangeCapabilities([]string) []string {
749
+ return caps
750
0 commit comments