All URIs are relative to https://api-mainnet.celenium.io/v1
| Method | HTTP request | Description |
|---|---|---|
| GetHyperlaneIgp | Get /hyperlane/igp/{id} | Get IGP by id |
| GetHyperlaneMailbox | Get /hyperlane/mailbox/{id} | Get hyperlane mailbox info |
| GetHyperlaneToken | Get /hyperlane/token/{id} | Get hyperlane token info |
| GetHyperlaneTransfer | Get /hyperlane/transfer/{id} | Get transfer by id |
| GetZkism | Get /hyperlane/zkism/{id} | Get ZK ISM by id |
| GetZkismMessages | Get /hyperlane/zkism/{id}/messages | Get ZK ISM authorized messages |
| GetZkismUpdates | Get /hyperlane/zkism/{id}/updates | Get ZK ISM state update history |
| ListHyperlaneDomains | Get /hyperlane/domains | List hyperlane domains info |
| ListHyperlaneIgps | Get /hyperlane/igp | List hyperlane Interchain Gas Paymaster (IGP) |
| ListHyperlaneMailbox | Get /hyperlane/mailbox | List hyperlane mailboxes info |
| ListHyperlaneTokens | Get /hyperlane/token | List hyperlane tokens info |
| ListHyperlaneTransfers | Get /hyperlane/transfer | List hyperlane transfers info |
| ListZkism | Get /hyperlane/zkism | List ZK Interchain Security Modules |
ResponsesHyperlaneIgp GetHyperlaneIgp(ctx, id).Execute()
Get IGP by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := int32(56) // int32 | Internal identity
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetHyperlaneIgp(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetHyperlaneIgp``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHyperlaneIgp`: ResponsesHyperlaneIgp
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetHyperlaneIgp`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Internal identity |
Other parameters are passed through a pointer to a apiGetHyperlaneIgpRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponsesHyperlaneMailbox GetHyperlaneMailbox(ctx, id).Execute()
Get hyperlane mailbox info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := "id_example" // string | Hyperlane mailbox id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetHyperlaneMailbox(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetHyperlaneMailbox``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHyperlaneMailbox`: ResponsesHyperlaneMailbox
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetHyperlaneMailbox`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | string | Hyperlane mailbox id |
Other parameters are passed through a pointer to a apiGetHyperlaneMailboxRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponsesHyperlaneToken GetHyperlaneToken(ctx, id).Execute()
Get hyperlane token info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := "id_example" // string | Hyperlane token id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetHyperlaneToken(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetHyperlaneToken``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHyperlaneToken`: ResponsesHyperlaneToken
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetHyperlaneToken`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | string | Hyperlane token id |
Other parameters are passed through a pointer to a apiGetHyperlaneTokenRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponsesHyperlaneTransfer GetHyperlaneTransfer(ctx, id).Execute()
Get transfer by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := int32(56) // int32 | Internal identity
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetHyperlaneTransfer(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetHyperlaneTransfer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetHyperlaneTransfer`: ResponsesHyperlaneTransfer
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetHyperlaneTransfer`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Internal identity |
Other parameters are passed through a pointer to a apiGetHyperlaneTransferRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponsesZkISM GetZkism(ctx, id).Execute()
Get ZK ISM by id
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := int32(56) // int32 | Internal ZK ISM identity
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetZkism(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetZkism``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetZkism`: ResponsesZkISM
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetZkism`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Internal ZK ISM identity |
Other parameters are passed through a pointer to a apiGetZkismRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesZkISMMessage GetZkismMessages(ctx, id).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).From(from).To(to).Execute()
Get ZK ISM authorized messages
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := int32(56) // int32 | Internal ZK ISM identity
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset for pagination (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
txHash := "txHash_example" // string | Filter by transaction hash (hex) (optional)
address := "address_example" // string | Filter by signer Celestia address (optional)
from := int32(56) // int32 | Filter by start time (Unix timestamp) (optional)
to := int32(56) // int32 | Filter by end time (Unix timestamp) (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetZkismMessages(context.Background(), id).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).From(from).To(to).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetZkismMessages``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetZkismMessages`: []ResponsesZkISMMessage
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetZkismMessages`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Internal ZK ISM identity |
Other parameters are passed through a pointer to a apiGetZkismMessagesRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
limit | int32 | Count of requested entities | offset | int32 | Offset for pagination | sort | string | Sort order. Default: desc | txHash | string | Filter by transaction hash (hex) | address | string | Filter by signer Celestia address | from | int32 | Filter by start time (Unix timestamp) | to | int32 | Filter by end time (Unix timestamp) |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesZkISMUpdate GetZkismUpdates(ctx, id).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).From(from).To(to).Execute()
Get ZK ISM state update history
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
id := int32(56) // int32 | Internal ZK ISM identity
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset for pagination (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
txHash := "txHash_example" // string | Filter by transaction hash (hex) (optional)
address := "address_example" // string | Filter by signer Celestia address (optional)
from := int32(56) // int32 | Filter by start time (Unix timestamp) (optional)
to := int32(56) // int32 | Filter by end time (Unix timestamp) (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.GetZkismUpdates(context.Background(), id).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).From(from).To(to).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.GetZkismUpdates``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetZkismUpdates`: []ResponsesZkISMUpdate
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.GetZkismUpdates`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Internal ZK ISM identity |
Other parameters are passed through a pointer to a apiGetZkismUpdatesRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
limit | int32 | Count of requested entities | offset | int32 | Offset for pagination | sort | string | Sort order. Default: desc | txHash | string | Filter by transaction hash (hex) | address | string | Filter by signer Celestia address | from | int32 | Filter by start time (Unix timestamp) | to | int32 | Filter by end time (Unix timestamp) |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesDomainMetadata ListHyperlaneDomains(ctx).Execute()
List hyperlane domains info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListHyperlaneDomains(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListHyperlaneDomains``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHyperlaneDomains`: []ResponsesDomainMetadata
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListHyperlaneDomains`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiListHyperlaneDomainsRequest struct via the builder pattern
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesHyperlaneIgp ListHyperlaneIgps(ctx).Limit(limit).Offset(offset).Sort(sort).Execute()
List hyperlane Interchain Gas Paymaster (IGP)
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListHyperlaneIgps(context.Background()).Limit(limit).Offset(offset).Sort(sort).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListHyperlaneIgps``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHyperlaneIgps`: []ResponsesHyperlaneIgp
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListHyperlaneIgps`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListHyperlaneIgpsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int32 | Count of requested entities | |
| offset | int32 | Offset | |
| sort | string | Sort order. Default: desc |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesHyperlaneMailbox ListHyperlaneMailbox(ctx).Limit(limit).Offset(offset).Execute()
List hyperlane mailboxes info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListHyperlaneMailbox(context.Background()).Limit(limit).Offset(offset).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListHyperlaneMailbox``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHyperlaneMailbox`: []ResponsesHyperlaneMailbox
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListHyperlaneMailbox`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListHyperlaneMailboxRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int32 | Count of requested entities | |
| offset | int32 | Offset |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesHyperlaneToken ListHyperlaneTokens(ctx).Limit(limit).Offset(offset).Sort(sort).Owner(owner).Mailbox(mailbox).Type_(type_).Execute()
List hyperlane tokens info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
owner := "owner_example" // string | Owner celestia address (optional)
mailbox := "mailbox_example" // string | Mailbox hexademical identity (optional)
type_ := "type__example" // string | Comma-separated string of tokens type (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListHyperlaneTokens(context.Background()).Limit(limit).Offset(offset).Sort(sort).Owner(owner).Mailbox(mailbox).Type_(type_).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListHyperlaneTokens``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHyperlaneTokens`: []ResponsesHyperlaneToken
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListHyperlaneTokens`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListHyperlaneTokensRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int32 | Count of requested entities | |
| offset | int32 | Offset | |
| sort | string | Sort order. Default: desc | |
| owner | string | Owner celestia address | |
| mailbox | string | Mailbox hexademical identity | |
| type_ | string | Comma-separated string of tokens type |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesHyperlaneTransfer ListHyperlaneTransfers(ctx).Limit(limit).Offset(offset).Sort(sort).Address(address).Relayer(relayer).Mailbox(mailbox).Token(token).Type_(type_).Domain(domain).Hash(hash).Execute()
List hyperlane transfers info
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
address := "address_example" // string | Celestia address (optional)
relayer := "relayer_example" // string | Celestia address of relayer (optional)
mailbox := "mailbox_example" // string | Mailbox hexademical identity (optional)
token := "token_example" // string | Token hexademical identity (optional)
type_ := "type__example" // string | Comma-separated string of transfer type (optional)
domain := int32(56) // int32 | Domain of counterparty chain (optional)
hash := "hash_example" // string | Transaction hash in hexadecimal (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListHyperlaneTransfers(context.Background()).Limit(limit).Offset(offset).Sort(sort).Address(address).Relayer(relayer).Mailbox(mailbox).Token(token).Type_(type_).Domain(domain).Hash(hash).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListHyperlaneTransfers``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListHyperlaneTransfers`: []ResponsesHyperlaneTransfer
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListHyperlaneTransfers`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListHyperlaneTransfersRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int32 | Count of requested entities | |
| offset | int32 | Offset | |
| sort | string | Sort order. Default: desc | |
| address | string | Celestia address | |
| relayer | string | Celestia address of relayer | |
| mailbox | string | Mailbox hexademical identity | |
| token | string | Token hexademical identity | |
| type_ | string | Comma-separated string of transfer type | |
| domain | int32 | Domain of counterparty chain | |
| hash | string | Transaction hash in hexadecimal |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResponsesZkISM ListZkism(ctx).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).Execute()
List ZK Interchain Security Modules
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/celenium-io/celenium-api-go"
)
func main() {
limit := int32(56) // int32 | Count of requested entities (optional)
offset := int32(56) // int32 | Offset for pagination (optional)
sort := "sort_example" // string | Sort order. Default: desc (optional)
txHash := "txHash_example" // string | Filter by transaction hash (hex) (optional)
address := "address_example" // string | Filter by creator Celestia address (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.HyperlaneAPI.ListZkism(context.Background()).Limit(limit).Offset(offset).Sort(sort).TxHash(txHash).Address(address).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `HyperlaneAPI.ListZkism``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListZkism`: []ResponsesZkISM
fmt.Fprintf(os.Stdout, "Response from `HyperlaneAPI.ListZkism`: %v\n", resp)
}Other parameters are passed through a pointer to a apiListZkismRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int32 | Count of requested entities | |
| offset | int32 | Offset for pagination | |
| sort | string | Sort order. Default: desc | |
| txHash | string | Filter by transaction hash (hex) | |
| address | string | Filter by creator Celestia address |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]