mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
28aa11c976
* Config HTTP endpoints * error on unsupported type * type assertion
21 lines
417 B
Go
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"`
|
|
}
|