prysm-pulse/beacon-chain/rpc/eth/config/structs.go
Radosław Kapka 28aa11c976
Config HTTP endpoints (#13168)
* Config HTTP endpoints

* error on unsupported type

* type assertion
2023-11-13 23:38:23 +00:00

21 lines
417 B
Go

package config
import "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared"
type GetDepositContractResponse struct {
Data *DepositContractData `json:"data"`
}
type DepositContractData struct {
ChainId string `json:"chain_id"`
Address string `json:"address"`
}
type GetForkScheduleResponse struct {
Data []*shared.Fork `json:"data"`
}
type GetSpecResponse struct {
Data interface{} `json:"data"`
}