
software.crldev.elrondspringbootstarterreactive.api.ApiResourceURI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elrond-spring-boot-starter-reactive Show documentation
Show all versions of elrond-spring-boot-starter-reactive Show documentation
A SpringBoot Starter solution designed to ensure easy and efficient integration with the Elrond Network using a Reactive API layer.
The newest version!
package software.crldev.elrondspringbootstarterreactive.api;
/**
* Enum containing URI for accessing resources on the network
*
* @author carlo_stanciu
*/
public enum ApiResourceURI {
NETWORK_CONFIG("network/config"), SHARD_STATUS("network/status/%s"), ACCOUNT_ON_NETWORK("address/%s"), ACCOUNT_BALANCE("address/%s/balance"), ACCOUNT_NONCE("address/%s/nonce"), ACCOUNT_STORAGE_VALUE("address/%s/key/%s"), ACCOUNT_STORAGE("address/%s/keys"), ADDRESS_TRANSACTIONS("address/%s/transactions"), TRANSACTION_ON_NETWORK("transaction/%s?withResults=%s"), SEND_TRANSACTION("transaction/send"), SEND_MULTIPLE_TRANSACTIONS("transaction/send-multiple"), SIMULATE_TRANSACTION("transaction/simulate"), ESTIMATE_TRANSACTION_COST("transaction/cost"), TRANSACTION_STATUS("transaction/%s/status"), NODE_HEARTBEAT_STATUS("node/heartbeatstatus"), HYPERBLOCK_BY_NONCE("hyperblock/by-nonce/%s"), HYPERBLOCK_BY_HASH("hyperblock/by-hash/%s"), BLOCK_BY_NONCE_FROM_SHARD("block/%s/by-nonce/%s"), BLOCK_BY_HASH_FROM_SHARD("block/%s/by-hash/%s"), QUERY_SMART_CONTRACT("vm-values/query"), QUERY_SMART_CONTRACT_HEX("vm-values/hex"), QUERY_SMART_CONTRACT_STRING("vm-values/string"), QUERY_SMART_CONTRACT_INT("vm-values/int"), ESDT_TOKENS_FOR_ADDRESS("address/%s/esdt"), ESDT_BALANCE_FOR_ADDRESS("address/%s/esdt/%s"), ESDT_ROLES_FOR_ADDRESS("address/%s/esdts/roles"), ESDT_ALL_ISSUED_TOKENS("network/esdts"), ESDT_ALL_ISSUED_FUNGIBLE_TOKENS("network/esdt/fungible-tokens"), ESDT_ALL_ISSUED_SEMIFUNGIBLE_TOKENS("network/esdt/semi-fungible-tokens"), ESDT_ALL_ISSUED_NONFUNGIBLE_TOKENS("network/esdt/non-fungible-tokens"), NFT_DATA_FOR_ADDRESS("address/%s/nft/%s/nonce/%s"), NFT_SFT_REGISTERED_FOR_ADDRESS("address/%s/registered-nfts"), ESDT_TOKENS_WITH_ROLE("address/%s/esdts-with-role/%s");
private final String URI;
private ApiResourceURI(final String URI) {
this.URI = URI;
}
public String getURI() {
return this.URI;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy