How to know the status of one transaction?failed or successfully

we can use method Filecoin.ChainGetMessage to get one transaction but we do not know it is successful or failed.

i mean there is some transaction of fil which out of gas.
we call these transactions failed.

but how to get the status on filchain? is there any api ?