Retrieve Moxie earning details for reply.
farcasterMoxie.getReplyEarningDetails
Overview
Retrieve Moxie earning details for a certain reply.
Parameters
cast_hash
string
true
ex) "0x10851ca722039c193dd7e7ac8b5fb7479d9cae86"
Usage
let res = await Lum0x.farcasterMoxie.getReplyEarningDetails({
cast_hash: "0x10851ca722039c193dd7e7ac8b5fb7479d9cae86"
});
console.log(JSON.stringify(res, null, 2));
Response
{
"data": {
"FarcasterReplies": {
"Reply": [
{
"hash": "0x10851ca722039c193dd7e7ac8b5fb7479d9cae86",
"moxieEarningsSplit": [
{
"earnerType": "NETWORK",
"earningsAmount": 52.57858184946,
"earningsAmountInWei": "52578581849460000000"
},
{
"earnerType": "CREATOR",
"earningsAmount": 368.05007294622,
"earningsAmountInWei": "368050072946220000000"
},
{
"earnerType": "CREATOR_FANS",
"earningsAmount": 105.15716369892,
"earningsAmountInWei": "105157163698920000000"
}
]
}
]
}
}
}
0x10851ca722039c193dd7e7ac8b5fb7479d9cae86
NETWORK
52.57858184946
52578581849460000000
0x10851ca722039c193dd7e7ac8b5fb7479d9cae86
CREATOR
368.05007294622
368050072946220000000
0x10851ca722039c193dd7e7ac8b5fb7479d9cae86
CREATOR_FANS
105.15716369892
105157163698920000000
Field Description
hash: The unique identifier for the Reply, represented as a hash value on the blockchain.
moxieEarningsSplit: Information on the earnings distribution for the Reply.
earnerType: The entity receiving the earnings (e.g., NETWORK, CREATOR, CREATOR_FANS).
earningsAmount: The amount of earnings received by the entity (in Ether).
earningsAmountInWei: The earnings amount received by the entity expressed in Wei.
Last updated