PublicBlockChainAPI provides an API to access the Cpchain blockchain. It offers only methods that operate on public data that is freely available to anyone.
| 467 | // PublicBlockChainAPI provides an API to access the Cpchain blockchain. |
| 468 | // It offers only methods that operate on public data that is freely available to anyone. |
| 469 | type PublicBlockChainAPI struct { |
| 470 | b Backend |
| 471 | } |
| 472 | |
| 473 | // NewPublicBlockChainAPI creates a new Cpchain blockchain API. |
| 474 | func NewPublicBlockChainAPI(b Backend) *PublicBlockChainAPI { |
nothing calls this directly
no outgoing calls
no test coverage detected