Deployments
Neutron:
Osmosis:
Types
The types of the Account NFT Contract can be found .
For reference on the Queries and Methods:
type Binary = string
type Uint128 = string
type Expiration =
| {
at_height: number
}
| {
at_time: Timestamp
}
| {
never: {}
}
Queries
all_nft_info
Returns all NFT related infos for a the provided token_id.
{
all_nft_info: {
include_expired?: boolean | null
token_id: string
}
}
{
data: {
access: {
approvals: [
{
expires: Expiration
spender: string
},
...
]
owner: string
}
info: {
extension: [k: string]: unknown
token_uri?: string | null
}
}
}
all_operators
{
all_operators: {
include_expired?: boolean | null
limit?: number | null
owner: string
start_after?: string | null
}
}
{
data: {
operators: [
{
expires: Expiration
spender: string
},
...
]
}
}
all_tokens
{
all_tokens: {
limit?: number | null
start_after?: string | null
}
}
{
data: {
tokens: string[]
}
}
approvals
{
approvals: {
include_expired?: boolean | null
token_id: string
}
}
{
data: {
approvals: [
{
expires: Expiration
spender: string
},
...
]
}
}
config
{
data: {
credit_manager_contract_addr?: string | null
health_contract_addr?: string | null
max_value_for_burn: Uint128
}
}
contract_info
{
contract_info: {}
}
{
data: {
name: string
symbol: string
}
}
minter
{
data: {
minter: string
}
}
next_id
nft_info
{
nft_info: {
token_id: string
}
}
{
data: {
extension: [k: string]: unknown
token_uri?: string | null
}
}
num_tokens
{
data: {
count: number
}
}
owner_of
{
owner_of: {
include_expired?: boolean | null
token_id: string
}
}
{
data: {
approvals: [
{
expires: Expiration
spender: string
},
...
]
owner: string
}
}
ownership
{
data: {
owner: string
pending_owner: Expiration | null
pending_expiry: Addr | null
}
}
tokens
{
tokens: {
limit?: number | null
owner: string
start_after?: string | null
}
}
{
data: {
tokens: string[]
}
}
Methods