ordapi
Version:
180 lines (179 loc) • 4.78 kB
TypeScript
export declare const GENESIS_BLOCK: {
best_height: number;
hash: string;
height: number;
inscriptions: never[];
runes: never[];
target: string;
transactions: {
version: number;
lock_time: number;
input: {
previous_output: string;
script_sig: string;
sequence: number;
witness: never[];
}[];
output: {
value: number;
script_pubkey: string;
}[];
}[];
};
export declare const SAMPLE_ORDINALS_ADDRESS = "bc1pyy0ttst33sgv9vx0jnqueca7vsqqupwu2t38l43pfgpwjrqvdddsq73hzp";
export declare const SAMPLE_ADDRESS_INFO: {
outputs: string[];
inscriptions: string[];
sat_balance: number;
runes_balances: string[][];
};
export declare const SAMPLE_RUNE_BALANCE: string[];
export declare const SAMPLE_BLOCKS_RESPONSE: {
last: number;
blocks: string[];
featured_blocks: {
'000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f': string[];
};
};
export declare const SAMPLE_OUTPOINT_A = "8aa673bc752f2851fd645d6a0a92917e967083007d9c1684f9423b100540673f:0";
export declare const SAMPLE_OUTPOINT_B = "85abae61cf0f7f90efc67ab5059e6ee3e600c3015ea68e9b33e945d8555766ed:100";
export declare const SAMPLE_BTC_ADDRESS = "358mMRwcxuCSkKheuVWaXHJBGKrXo3f6JW";
export declare const SAMPLE_TX_ID = "6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799";
export declare const SAMPLE_TRANSACTION: {
version: number;
lock_time: number;
input: {
previous_output: string;
script_sig: string;
sequence: number;
witness: never[];
}[];
output: {
value: number;
script_pubkey: string;
}[];
};
export declare const SAMPLE_INPUT: {
previous_output: string;
script_sig: string;
sequence: number;
witness: string[];
};
export declare const SAMPLE_OUTPUT: {
value: number;
script_pubkey: string;
};
export declare const SAMPLE_INSCRIPTION: {
address: string;
charms: string[];
children: string[];
child_count: number;
content_length: number;
content_type: string;
effective_content_type: string;
fee: number;
height: number;
id: string;
next: string;
number: number;
parents: string[];
previous: string;
rune: string;
sat: number;
satpoint: string;
timestamp: number;
value: number;
metaprotocol: string;
};
export declare const SAMPLE_INSCRIPTIONS_RESPONSE: {
ids: string[];
more: boolean;
page_index: number;
};
export declare const SAMPLE_INSCRIPTION_ID = "6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0";
export declare const SAMPLE_CHILD_ID = "ab924ff229beca227bf40221faf492a20b5e2ee4f084524c84a5f98b80fe527fi0";
export declare const SAMPLE_BLOCK_HEIGHT = 767430;
export declare const SAMPLE_UTXO_INFO: {
address: string;
confirmations: number;
indexed: boolean;
inscriptions: string[];
outpoint: string;
runes: {
'TEST\u2022RUNE': {
amount: number;
divisibility: number;
symbol: string;
};
};
sat_ranges: number[][];
script_pubkey: string;
spent: boolean;
transaction: string;
value: number;
};
export declare const SAMPLE_RUNE: {
block: number;
burned: number;
divisibility: number;
etching: string;
mints: number;
number: number;
premine: number;
spaced_rune: string;
symbol: string;
terms: {
amount: number;
cap: number;
height: number[];
offset: number[];
};
timestamp: number;
turbo: boolean;
};
export declare const SAMPLE_RUNE_NAME = "MEMENTO\u2022MORI";
export declare const SAMPLE_SAT_NUMBER = 2099994106992659;
export declare const SAMPLE_SAT: {
address: string;
block: number;
charms: string[];
cycle: number;
decimal: string;
degree: string;
epoch: number;
inscriptions: never[];
name: string;
number: number;
offset: number;
percentile: string;
period: number;
rarity: string;
satpoint: null;
timestamp: number;
};
export declare const SAMPLE_STATUS: {
address_index: boolean;
blessed_inscriptions: number;
chain: string;
cursed_inscriptions: number;
height: number;
initial_sync_time: {
secs: number;
nanos: number;
};
inscription_index: boolean;
inscriptions: number;
json_api: boolean;
lost_sats: number;
minimum_rune_for_next_block: string;
rune_index: boolean;
runes: number;
sat_index: boolean;
started: string;
transaction_index: boolean;
unrecoverably_reorged: boolean;
uptime: {
secs: number;
nanos: number;
};
};